From 79f9feacf7c43f93ba6fc36bbe6b27680afb1b66 Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Fri, 6 Sep 2024 16:05:49 +0500 Subject: [PATCH] fix: reverting push-docker-image changes --- .github/workflows/push-docker-image.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 2b43886e..aa09d8c1 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -12,14 +12,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 # 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'. - name: Get tag name id: get-tag-name - uses: actions/github-script@v7 + uses: actions/github-script@v5 with: script: | const branchName = context.ref.split('/').slice(-1)[0]; @@ -29,19 +29,19 @@ jobs: result-encoding: string - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v2 - name: Login to DockerHub - uses: docker/login-action@v3 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Build and push Dev Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v4 with: push: true @@ -53,7 +53,7 @@ jobs: platforms: linux/amd64,linux/arm64 # - name: Build and push prod Docker image - # uses: docker/build-push-action@v6 + # uses: docker/build-push-action@v4 # with: # push: true # username: ${{ secrets.DOCKERHUB_USERNAME }}