File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,23 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v4
1818
19- - name : Login to Docker Hub
20- uses : docker/login-action@v3
19+ # - name: Login to Docker Hub
20+ # uses: docker/login-action@v3
21+ # with:
22+ # username: ${{ secrets.DOCKERHUB_USER }}
23+ # password: ${{ secrets.DOCKERHUB_TOKEN }}
24+
25+ - name : Extract metadata
26+ id : metadata
27+ uses : docker/metadata-action@v5
2128 with :
22- username : ${{ secrets.DOCKERHUB_USER }}
23- password : ${{ secrets.DOCKERHUB_TOKEN }}
29+ images : |
30+ ${{ secrets.DOCKERHUB_USER }}/${{ env.IMAGE_NAME }}
31+ tags : |
32+ type=semver,pattern={{version}}
33+
34+ - name : Debug
35+ run : echo ${{ steps.metadata.outputs.tags }}
2436
2537 - name : Set up Docker Buildx
2638 uses : docker/setup-buildx-action@v3
You can’t perform that action at this time.
0 commit comments