Skip to content

bump to version 0.3.0 #7

bump to version 0.3.0

bump to version 0.3.0 #7

Workflow file for this run

name: Docker Build
on:
push:
tags:
- "*.*.*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: 2mal3
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v4
if: github.ref == 'refs/heads/main'
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64/v8
- name: Build and push
uses: docker/build-push-action@v4
if: github.ref != 'refs/heads/main'
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64/v8
push: true
tags: 2mal3/verspaetungsorakel:latest,2mal3/verspaetungsorakel:${{ github.ref_name }}