From af330dfa0af171a7b8f7bbd0d230d9db1e735cd3 Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 16 Mar 2023 13:32:38 -0700 Subject: [PATCH] Update build_container.yml --- .github/workflows/build_container.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 3a481b6..c0f337d 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -46,4 +46,13 @@ jobs: with: context: . push: true - tags: ${{ env.TAG }} \ No newline at end of file + tags: ${{ env.TAG }} + if: ${{ ! inputs.tag }} + + - name: Push Container + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: ghcr.io/${{ github.repository }}:${{ inputs.tag }} + if: ${{ inputs.tag }}