File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -80,31 +80,29 @@ jobs:
80
80
uses : actions/checkout@v3
81
81
82
82
- name : Log in to Docker Hub
83
- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
83
+ uses : docker/login-action@v2
84
84
with :
85
85
username : ${{ secrets.DOCKER_USERNAME }}
86
86
password : ${{ secrets.DOCKER_PASSWORD }}
87
87
88
88
- name : Log in to the Container registry
89
- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
89
+ uses : docker/login-action@v2
90
90
with :
91
91
registry : ghcr.io
92
92
username : ${{ github.actor }}
93
- password : ${{ secrets.GITHUB_TOKEN }}
93
+ password : ${{ secrets.GH_PAT }}
94
94
95
95
- name : Extract metadata (tags, labels) for Docker
96
96
id : meta
97
- uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
97
+ uses : docker/metadata-action@v4
98
98
with :
99
99
images : |
100
100
pb33f/wiretap
101
- ghcr.io/pb33f/wiretap
101
+ ghcr.io/${{ github.repository }}
102
102
103
103
- name : Build and push Docker images
104
- uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
104
+ uses : docker/build-push-action@v4
105
105
with :
106
106
context : .
107
107
push : true
108
- tags : pb33f/wiretap:latest
109
- labels : ${{ steps.meta.outputs.labels }}
110
- file : ./Dockerfile
108
+ tags : pb33f/wiretap:latest, pb33f/wiretap:${{ github.event.client_payload.new-tag }}
You can’t perform that action at this time.
0 commit comments