Compare commits

..

14 Commits

Author SHA1 Message Date
Gertjan Krol dd280fa559 1.0.3 - Added `bash` and `zstd` to image
Test / test_build (push) Successful in 33s Details
Release / build_push (push) Successful in 30s Details
2023-09-02 19:29:13 +02:00
Gertjan Krol 46f3b6c367 🔖
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Successful in 10s Details
2023-09-02 00:17:19 +02:00
Gertjan Krol ceefa6015e Hardcode registry since `env` is not available in `when`
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 9s Details
2023-09-02 00:07:48 +02:00
Gertjan Krol 451de112eb Attempt another release fix
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 8s Details
2023-09-02 00:03:14 +02:00
Gertjan Krol 19b80e0040 Attempt another release fix
Test / test_build (push) Successful in 8s Details
Release / build_push (push) Failing after 7s Details
2023-09-02 00:02:27 +02:00
Gertjan Krol 5ee8ada0f7 Attempt another release fix
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 12s Details
2023-09-01 23:58:22 +02:00
Gertjan Krol d4f9c39cea Added Docker login action 2023-09-01 23:58:13 +02:00
Gertjan Krol a18978d9ec Updated changelog (1.0.2)
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 7s Details
2023-09-01 23:50:40 +02:00
Gertjan Krol 0c237b908e Fix `tags` for build & push action 2023-09-01 23:50:27 +02:00
Gertjan Krol 9f2433360c Fixed release workflow
Test / test_build (push) Successful in 9s Details
Release / build_push (push) Failing after 7s Details
2023-09-01 21:45:27 +00:00
Gertjan Krol 2cb4994fd5 Updated changelog
Test / test_build (push) Successful in 8s Details
2023-09-01 23:42:14 +02:00
Gertjan Krol 4eb062d696 Fixed release workflow
Test / test_build (push) Successful in 8s Details
2023-09-01 23:41:20 +02:00
Gertjan Krol 3bfea85c90 Updated workflows
Test / test_build (push) Successful in 8s Details
2023-09-01 23:40:54 +02:00
Gertjan Krol 01af9c0d9d update job name
Release / test_build (push) Successful in 26s Details
Release / build_push (push) Failing after 26s Details
2023-05-28 23:16:32 +02:00
4 changed files with 29 additions and 10 deletions

View File

@ -8,15 +8,21 @@ jobs:
build_push:
runs-on: ubuntu-latest
container: docker:latest
env:
REGISTRY: git.gertjankrol.nl
IMAGE_NAMESPACE: docker/toolkit
steps:
- name: Install dependencies # not present in `docker` container but needed for `checkout` action
run: apk add --no-cache git nodejs
- name: Check out repository
uses: actions/checkout@v3
- name: Docker login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
- name: Build and push container
run: docker build . -t ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} -t ${REGISTRY}/${IMAGE_NAMESPACE}:latest --push
uses: actions/docker-login@v2
with:
registry: ${{secrets.DOCKER_REGISTRY}}
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build and push
uses: actions/docker-build-push@v4
with:
push: true
tags: |
${{secrets.DOCKER_REGISTRY}}/${{github.repository}}:${{github.ref_name}}
${{secrets.DOCKER_REGISTRY}}/${{github.repository}}:latest

View File

@ -1,4 +1,4 @@
name: Release
name: Test
on:
push:
branches:
@ -13,7 +13,10 @@ jobs:
run: apk add --no-cache git nodejs
- name: Check out repository
uses: actions/checkout@v3
- name: Build containers
run: docker build . -t toolkit-test:${{ github.ref_name }}
- name: Build image
uses: actions/docker-build-push@v4
with:
push: false
tags: toolkit-test:${{ github.ref_name }}
- name: Inspect image
run: docker image inspect toolkit-test:${{ github.ref_name }}

View File

@ -3,5 +3,15 @@ All notable changes to this package will be documented in this file
## Unreleased
## 1.0.3 - 2023-09-02
- Added `bash` and `zstd` to image [patch]
## 1.0.2 - 2023-09-01
- Fix changelog and release workflow [patch]
## 1.0.1 - 2023-09-01
- Updated workflows [patch]
- Bump dependencies [patch]
## 1.0.0 - 2023-05-28
- Initial release [major]

View File

@ -1,4 +1,4 @@
FROM alpine:3.18
# Install base tools
RUN apk add --no-cache curl docker git htop nodejs npm unzip zip
RUN apk add --no-cache bash curl docker git htop nodejs npm unzip zip zstd