diff --git a/.gitea/workflows/commit.yaml b/.gitea/workflows/commit.yaml index 1895b79..1abe1ee 100644 --- a/.gitea/workflows/commit.yaml +++ b/.gitea/workflows/commit.yaml @@ -35,6 +35,8 @@ jobs: - name: Extract metadata for registry id: meta uses: docker/metadata-action@v5 + tags: | + type=raw,value=latest,enable={{is_default_branch}} with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -43,5 +45,5 @@ jobs: with: context: . push: true - tags: "gitea.taco.quest/mindfang/pterodactyl-panel:latest" + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}