Skip to content

Update Docker base image #5

Update Docker base image

Update Docker base image #5

Workflow file for this run

name: Release build and publish
on:
push:
branches-ignore:
- "**"
tags:
- "v*"
jobs:
docker:
name: Docker build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
daniellerch/dyndns-distributor
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}