Skip to content

Release Base

Release Base #19

Workflow file for this run

name: Release Base
on:
push:
tags:
- "base-*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: olegtarasov/[email protected]
id: tagName
with:
tagRegex: 'base-([\w\d\-_\.]+)'
tagRegexGroup: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build latest
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
file: ./Dockerfile-base
tags: |
homeland/base:${{ steps.tagName.outputs.tag }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}