Skip to content

Commit 6051853

Browse files
committed
ci: add tags without uname
1 parent 4f72eea commit 6051853

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
cache-from: type=local,src=/tmp/.buildx-cache
7575
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
7676
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 }}
7783
- name: Build and push app image
7884
uses: docker/build-push-action@v5
7985
with:

.github/workflows/build_and_push_images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
cache-from: type=local,src=/tmp/.buildx-cache
5757
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
5858
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 }}
5965
- name: Move new cache to the place where to be cached
6066
run: |
6167
echo "Temporary fix for cleaning up old cache."

0 commit comments

Comments
 (0)