From ff8bc87a5dc2c401f59e825454fb645e516bf43f Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Thu, 2 May 2024 15:09:14 +0500 Subject: [PATCH] fix: path --- .github/workflows/push-docker-image.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index f73deaf6..a72f7daa 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -13,9 +13,6 @@ jobs: # if: github.event_name == 'push' steps: - - name: Checkout - uses: actions/checkout@v4 - # Use the release name as the image tag if we're building an open release tag. # Examples: if we're building 'open-release/olive.master', tag the image as 'olive.master'. # Otherwise, we must be building from a push to master, so use 'latest'. @@ -45,11 +42,12 @@ jobs: - name: Build and push Dev Docker image uses: docker/build-push-action@v5 with: - context: . # push: true push: ${{ github.event_name == 'pull_request' }} target: dev - tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} + tags: | + openedx/edx-notes-api-dev:${{ steps.get-tag-name.outputs.result }} + openedx/edx-notes-api-dev:${{ github.sha }} platforms: linux/amd64,linux/arm64 # - name: Build and push prod Docker image @@ -57,6 +55,7 @@ jobs: # with: # push: true # target: prod - # repository: openedx/edx-notes-api - # tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} + # tags: | + # openedx/edx-notes-api:${{ steps.get-tag-name.outputs.result }} + # openedx/edx-notes-api:${{ github.sha }} # platforms: linux/amd64,linux/arm64