diff --git a/.github/workflows/build-dev-image.yml b/.github/workflows/build-dev-image.yml index 7bf0cc4..6fd0396 100644 --- a/.github/workflows/build-dev-image.yml +++ b/.github/workflows/build-dev-image.yml @@ -10,7 +10,7 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: slickdeals/jira-software + IMAGE_NAME: slickdeals/jira-software-dev COMMIT_SHA: ${{ github.sha }} jobs: @@ -34,15 +34,15 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - tags: | - ${{ env.COMMIT_SHA }} - ${{ vars.DEVELOP_TAG}} - name: Build, Tag, and push Docker image uses: docker/build-push-action@v5 with: context: ./app push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags}} + tags: | + - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags}} + - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.COMMIT_SHA}} + - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest labels: ${{ steps.meta.outputs.labels }} build-args: | - BUILD_TAG=${{ vars.DEVELOP_TAG }} \ No newline at end of file + BUILD_TAG=${{ vars.DEVELOP_TAG }}