Skip to content

Commit

Permalink
Fix for workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Jun 24, 2024
1 parent f14af32 commit 5c5f883
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:

build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

strategy:
fail-fast: false
matrix:
Expand All @@ -25,6 +23,9 @@ jobs:
context: drove-executor
- image: ghcr.io/PhonePe/drove-controller
context: drove-controller
permissions:
contents: read
packages: write

steps:
- name: Checkout Code
Expand Down Expand Up @@ -55,8 +56,6 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
# with:
# images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
with:
images: ${{ matrix.image }}

Expand All @@ -67,13 +66,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: VERSION=${{ github.ref_name }}

# - name: Build and push Docker image for controller
# uses: docker/build-push-action@v6
# with:
# context: drove-controller
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# build-args: VERSION=${{ github.ref_name }}
build-args: VERSION=${{ github.ref_name }}

0 comments on commit 5c5f883

Please sign in to comment.