File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 74
74
cache-from : type=local,src=/tmp/.buildx-cache
75
75
cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
76
76
platforms : linux/amd64,linux/arm64/v8
77
+ - name : Add tags without UNAME
78
+ run : |
79
+ docker tag ${{ env.UNAME }}/ishocon2-bench:latest ishocon2-bench:latest
80
+ docker tag ${{ env.UNAME }}/ishocon2-bench:${{ env.DATE }} ishocon2-bench:${{ env.DATE }}
81
+ docker tag ${{ env.UNAME }}/ishocon2-app-base:latest ishocon2-app-base:latest
82
+ docker tag ${{ env.UNAME }}/ishocon2-app-base:${{ env.DATE }} ishocon2-app-base:${{ env.DATE }}
77
83
- name : Build and push app image
78
84
uses : docker/build-push-action@v5
79
85
with :
Original file line number Diff line number Diff line change 56
56
cache-from : type=local,src=/tmp/.buildx-cache
57
57
cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
58
58
platforms : linux/amd64,linux/arm64/v8
59
+ - name : Add tags without UNAME
60
+ run : |
61
+ docker tag ${{ env.UNAME }}/ishocon2-bench:latest ishocon2-bench:latest
62
+ docker tag ${{ env.UNAME }}/ishocon2-bench:${{ env.DATE }} ishocon2-bench:${{ env.DATE }}
63
+ docker tag ${{ env.UNAME }}/ishocon2-app-base:latest ishocon2-app-base:latest
64
+ docker tag ${{ env.UNAME }}/ishocon2-app-base:${{ env.DATE }} ishocon2-app-base:${{ env.DATE }}
59
65
- name : Move new cache to the place where to be cached
60
66
run : |
61
67
echo "Temporary fix for cleaning up old cache."
You can’t perform that action at this time.
0 commit comments