Skip to content

Commit 1f53bd7

Browse files
committed
ci: tag as latest after using exact versions
1 parent 7a90df0 commit 1f53bd7

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ jobs:
229229
pnpm:
230230
- 8
231231
container:
232-
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-17" }
233-
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-17" }
234-
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-17" }
235-
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-13" }
236-
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-13" }
237-
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-13" }
232+
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-0.37.0" }
233+
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-0.37.0" }
234+
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-0.37.0" }
235+
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-0.37.0" }
236+
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-0.37.0" }
237+
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-0.37.0" }
238238
steps:
239239
- uses: actions/checkout@v4
240240
with:
@@ -260,6 +260,11 @@ jobs:
260260
push: ${{ github.event_name != 'pull_request' }}
261261
tags: ${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:${{ matrix.container.tag }}
262262

263+
- name: Tag
264+
run: |
265+
docker tag ${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:${{ matrix.container.tag }} ${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:latest
266+
docker push ${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:latest
267+
263268
- name: Test
264269
uses: docker/build-push-action@v5
265270
with:

0 commit comments

Comments
 (0)