Skip to content

Fix tag syntax regression (#38) #96

Fix tag syntax regression (#38)

Fix tag syntax regression (#38) #96

Workflow file for this run

name: Build and push docker images
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_core:
name: Build image
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the image
uses: docker/build-push-action@v2.2.1
with:
tags: |
certpl/${{ github.event.repository.name }}:${{ github.sha }}
push: ${{ github.event_name == 'push' }}