|
18 | 18 | env:
|
19 | 19 | UNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
|
20 | 20 | steps:
|
| 21 | + - run: echo "DATE=$(date +%Y%m%d)" >> $GITHUB_ENV |
21 | 22 | - uses: actions/checkout@v4
|
22 | 23 | - name: Set up Docker Buildx
|
23 | 24 | uses: docker/setup-buildx-action@v3
|
|
33 | 34 | context: .
|
34 | 35 | push: true
|
35 | 36 | file: ./docker/benchmarker/Dockerfile
|
36 |
| - tags: ${{ env.UNAME }}/ishocon2-bench:latest,${{ env.UNAME }}/ishocon2-bench:${{ github.sha }} |
| 37 | + tags: ${{ env.UNAME }}/ishocon2-bench:latest,${{ env.UNAME }}/ishocon2-bench:${{ env.DATE }} |
37 | 38 | cache-from: type=local,src=/tmp/.buildx-cache
|
38 | 39 | cache-to: type=local,dest=/tmp/.buildx-cache
|
39 | 40 | platforms: linux/amd64,linux/arm64/v8
|
|
43 | 44 | context: .
|
44 | 45 | push: true
|
45 | 46 | file: ./docker/app/base/Dockerfile
|
46 |
| - tags: ${{ env.UNAME }}/ishocon2-app-base:latest,${{ env.UNAME }}/ishocon2-app-base:${{ github.sha }} |
| 47 | + tags: ${{ env.UNAME }}/ishocon2-app-base:latest,${{ env.UNAME }}/ishocon2-app-base:${{ env.DATE }} |
47 | 48 | cache-from: type=local,src=/tmp/.buildx-cache
|
48 | 49 | cache-to: type=local,dest=/tmp/.buildx-cache
|
49 | 50 | platforms: linux/amd64,linux/arm64/v8
|
|
66 | 67 | ISHOCON_APP_LANG: ${{ matrix.language }}
|
67 | 68 | UNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
|
68 | 69 | steps:
|
| 70 | + - run: echo "DATE=$(date +%Y%m%d)" >> $GITHUB_ENV |
69 | 71 | - uses: actions/checkout@v4
|
70 | 72 | - name: Set up Docker Buildx
|
71 | 73 | uses: docker/setup-buildx-action@v3
|
|
81 | 83 | context: .
|
82 | 84 | push: true
|
83 | 85 | file: ./docker/app/base/Dockerfile
|
84 |
| - tags: ${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latest,${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}-${{ github.sha }}:latest |
| 86 | + tags: ${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latest,${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:${{ env.DATE }} |
85 | 87 | cache-from: type=local,src=/tmp/.buildx-cache
|
86 | 88 | cache-to: type=local,dest=/tmp/.buildx-cache
|
87 | 89 | platforms: linux/amd64,linux/arm64/v8
|
0 commit comments