Skip to content

Commit 896d489

Browse files
author
Dushyant Kumar
committed
trying again
1 parent a402bb0 commit 896d489

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,19 @@ jobs:
6868
username: ${{ secrets.DOCKER_USERNAME }}
6969
password: ${{ secrets.DOCKER_PASSWORD }}
7070

71-
#- name: Login to GitHub Container Registry
72-
# uses: docker/login-action@v3
73-
# with:
74-
# registry: ghcr.io
75-
# username: ${{ github.repository_owner }}
76-
# password: ${{ secrets.GITHUB_TOKEN }}
77-
# if: github.event_name != 'pull_request'
71+
- name: Login to GitHub Container Registry
72+
uses: docker/login-action@v3
73+
with:
74+
registry: ghcr.io
75+
username: ${{ github.repository_owner }}
76+
password: ${{ secrets.GITHUB_TOKEN }}
77+
if: github.event_name != 'pull_request'
7878

7979
- name: Docker meta
8080
id: meta
8181
uses: docker/metadata-action@v5
8282
with:
8383
images: |
84-
name=localhost:5000/opentracing/nginx-opentracing
8584
name=docker.io/dushyantsopra/nginx-opentracing
8685
flavor: suffix=${{ matrix.os != 'debian' && '-' || '' }}${{ matrix.os != 'debian' && matrix.os || '' }},onlatest=true
8786
tags: |
@@ -98,7 +97,7 @@ jobs:
9897
pull: true
9998
push: true
10099
platforms: "linux/arm,linux/amd64,linux/arm64,linux/ppc64le,linux/s390x"
101-
tags: "v4.0"
100+
tags: ${{ steps.meta.outputs.tags }}
102101
labels: ${{ steps.meta.outputs.labels }}
103102
annotations: ${{ steps.meta.outputs.annotations }}
104103
cache-from: type=gha,scope=${{ matrix.os }}

0 commit comments

Comments
 (0)