Skip to content

Commit

Permalink
Update docker-build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jessenich authored Jun 29, 2021
1 parent 2e22470 commit 41dad3a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Publish Docker Image"

on:
workflow_dispatch:
release:
types: [published]

Expand Down Expand Up @@ -125,6 +124,8 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:${{ steps.semver.outputs.non-prefixed }}
${{ env.GHCR_URL }}/${{ github.repository}}:latest
${{ env.GHCR_URL }}/${{ github.repository}}:${{ steps.semver.outputs.non-prefixed }}
- name: Build & Push Dev Latest
uses: docker/build-push-action@v2
Expand All @@ -148,6 +149,8 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest-no-glibc
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:${{ steps.semver.outputs.non-prefixed }}-no-glibc
${{ env.GHCR_URL }}/${{ github.repository}}:latest-no-glibc
${{ env.GHCR_URL }}/${{ github.repository}}:${{ steps.semver.outputs.non-prefixed }}-no-glibc
- name: Build & Push Dev Latest
uses: docker/build-push-action@v2
Expand All @@ -171,6 +174,8 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest-slim
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:${{ steps.semver.outputs.non-prefixed }}-slim
${{ env.GHCR_URL }}/${{ github.repository}}:latest-slim
${{ env.GHCR_URL }}/${{ github.repository}}:${{ steps.semver.outputs.non-prefixed }}-slim
- name: Build & Push Dev Latest
uses: docker/build-push-action@v2
Expand All @@ -194,3 +199,5 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest-no-docs
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:${{ steps.semver.outputs.non-prefixed }}-no-docs
${{ env.GHCR_URL }}/${{ github.repository}}:latest-no-docs
${{ env.GHCR_URL }}/${{ github.repository}}:${{ steps.semver.outputs.non-prefixed }}-no-docs

0 comments on commit 41dad3a

Please sign in to comment.