File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 2626 username : ${{ github.actor }}
2727 password : ${{ secrets.GITHUB_TOKEN }}
2828
29+ - name : Docker metadata
30+ id : meta
31+ uses : docker/metadata-action@v5
32+ with :
33+ images : ghcr.io/${{ github.repository_owner }}/devcontainer
34+ tags : |
35+ type=sha
36+ type=raw,value=latest
37+ type=schedule,pattern={{date 'YYYYMMDD'}}
38+
39+ - name : Set up Docker Buildx
40+ uses : docker/setup-buildx-action@v3
41+
2942 - name : Build and push
3043 uses : docker/build-push-action@v6
3144 with :
3245 context : ./image
3346 push : true
34- tags : ghcr.io/${{ github.repository_owner }}/devcontainer:latest
47+ tags : ${{ steps.meta.outputs.tags }}
48+ labels : ${{ steps.meta.outputs.labels }}
49+ cache-from : type=gha
50+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments