Initial commit/release
Release / test_build (push) Successful in 9s Details
Release / build_push (push) Successful in 26s Details

master 1.0.0
Gertjan Krol 2023-05-28 21:19:06 +02:00
commit 503c0022f8
5 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,22 @@
name: Release
on:
push:
tags:
- '*'
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

View File

@ -0,0 +1,19 @@
name: Release
on:
push:
branches:
- '*'
jobs:
test_build:
runs-on: ubuntu-latest
container: docker:latest
steps:
- name: Install dependencies # not present in `docker` container
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: Inspect image
run: docker image inspect toolkit-test:${{ github.ref_name }}

7
CHANGELOG.md Normal file
View File

@ -0,0 +1,7 @@
# Changelog
All notable changes to this package will be documented in this file
## Unreleased
## 1.0.0 - 2023-05-28
- Initial release [major]

4
Dockerfile Normal file
View File

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

1
README.md Normal file
View File

@ -0,0 +1 @@
# Toolkit Docker image