Compare commits
No commits in common. "master" and "1.0.0" have entirely different histories.
|
@ -8,21 +8,15 @@ jobs:
|
||||||
build_push:
|
build_push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: docker:latest
|
container: docker:latest
|
||||||
|
env:
|
||||||
|
REGISTRY: git.gertjankrol.nl
|
||||||
|
IMAGE_NAMESPACE: docker/toolkit
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies # not present in `docker` container but needed for `checkout` action
|
- name: Install dependencies # not present in `docker` container but needed for `checkout` action
|
||||||
run: apk add --no-cache git nodejs
|
run: apk add --no-cache git nodejs
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
uses: actions/docker-login@v2
|
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
|
||||||
with:
|
- name: Build and push container
|
||||||
registry: ${{secrets.DOCKER_REGISTRY}}
|
run: docker build . -t ${REGISTRY}/${IMAGE_NAMESPACE}:${{ github.ref_name }} -t ${REGISTRY}/${IMAGE_NAMESPACE}:latest --push
|
||||||
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
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: Test
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -13,10 +13,7 @@ jobs:
|
||||||
run: apk add --no-cache git nodejs
|
run: apk add --no-cache git nodejs
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build image
|
- name: Build containers
|
||||||
uses: actions/docker-build-push@v4
|
run: docker build . -t toolkit-test:${{ github.ref_name }}
|
||||||
with:
|
|
||||||
push: false
|
|
||||||
tags: toolkit-test:${{ github.ref_name }}
|
|
||||||
- name: Inspect image
|
- name: Inspect image
|
||||||
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
run: docker image inspect toolkit-test:${{ github.ref_name }}
|
||||||
|
|
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -3,15 +3,5 @@ All notable changes to this package will be documented in this file
|
||||||
|
|
||||||
## Unreleased
|
## 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
|
## 1.0.0 - 2023-05-28
|
||||||
- Initial release [major]
|
- Initial release [major]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# Install base tools
|
# Install base tools
|
||||||
RUN apk add --no-cache bash curl docker git htop nodejs npm unzip zip zstd
|
RUN apk add --no-cache curl docker git htop nodejs npm unzip zip
|
||||||
|
|
Loading…
Reference in New Issue