cleanup of build file, added latest tag for main
Unit Tests with docker compose / unit-test (push) Successful in 39s Details
Build image / build (push) Successful in 1m44s Details

This commit is contained in:
Alie 2024-01-14 13:41:39 +01:00
parent 180acb95e6
commit ae4a47f0d4
1 changed files with 1 additions and 6 deletions

View File

@ -29,14 +29,9 @@ jobs:
git.fai.st/fedi-image-bot/bot-api git.fai.st/fedi-image-bot/bot-api
# generate Docker tags based on the following events/attributes # generate Docker tags based on the following events/attributes
tags: | tags: |
type=schedule type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=ref,event=branch type=ref,event=branch
type=ref,event=pr
type=sha type=sha
# - name: Set up QEMU
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
# uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Login to fai.st docker registry - name: Login to fai.st docker registry