Skip to content

fix: remove concurrency on after-tag workflows #3

fix: remove concurrency on after-tag workflows

fix: remove concurrency on after-tag workflows #3

Workflow file for this run

name: Docker Build and Push
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push latest
uses: docker/build-push-action@v5
with:
push: true
tags: giovannidegiorgio/sons-of-the-docker:latest
- name: Build and push tag
uses: docker/build-push-action@v5
with:
push: true
tags: giovannidegiorgio/sons-of-the-docker:${{ github.ref_name }}