Skip to content

Commit

Permalink
Update docker-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavan-SAP authored Jun 7, 2024
1 parent 6855d24 commit 2ef3e01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -43,14 +43,14 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: extract-metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ steps.prepare-repository-name.outputs.repository }}
tags: |
type=semver,pattern={{version}}
- name: Build and push docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: Dockerfile
platforms: linux/amd64,linux/arm64
Expand All @@ -70,4 +70,4 @@ jobs:
- name: Print Outputs
run: |
echo "Tags: ${{ steps.extract-metadata.outputs.tags }}"
echo "Labels: ${{ steps.extract-metadata.outputs.labels }}"
echo "Labels: ${{ steps.extract-metadata.outputs.labels }}"

0 comments on commit 2ef3e01

Please sign in to comment.