File tree Expand file tree Collapse file tree 2 files changed +21
-39
lines changed
Expand file tree Collapse file tree 2 files changed +21
-39
lines changed Original file line number Diff line number Diff line change 2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2424 GA_USERNAME : ${{ secrets.PAT_USERNAME }}
2525 GA_TOKEN : ${{ secrets.PAT_TOKEN }}
26+
27+ - name : Log in to the Container registry
28+ uses : docker/login-action@v2
29+ with :
30+ registry : ${{ env.REGISTRY }}
31+ username : ${{ github.actor }}
32+ password : ${{ secrets.GITHUB_TOKEN }}
33+
34+ - name : Extract metadata (tags, labels) for Docker
35+ id : meta
36+ uses : docker/metadata-action@v4
37+ with :
38+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
39+
40+ - name : Build and push Docker image
41+ uses : docker/build-push-action@v3
42+ with :
43+ context : .
44+ push : ${{ github.event_name != 'pull_request' }}
45+ tags : ${{ steps.meta.outputs.tags }}
46+ labels : ${{ steps.meta.outputs.labels }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments