Closed dfberry closed 8 months ago
According to docs the imageTag can be a comma separated list but my comma separated list isn't working. I would like an image to have both the SHA tag and the latest.
imageTag
name: Pre-build dev container image uses: devcontainers/ci@v0.3 with: subFolder: .github/workflows/ imageTag: ${{ github.sha }}, latest imageName: ghcr.io/${{ github.repository }} cacheFrom: ghcr.io/${{ github.repository }} push: always
GitHub action in this run.
[2024-02-03T18:18:17.390Z] #22 writing image sha256:6bf56d623ad52df209ffa1bb5d22cc530002aca8c263cc8d576611613cd67eac done #22 naming to docker.io/library/vsc-workflows-74e113834fa9b832c34006758f5519e854fdeee2f94da6ed197d9d5c073f8643-features done #22 DONE 15.8s Error: Dev container build failed: Command failed: docker tag vsc-workflows-74e113834fa9b832c34006758f5519e854fdeee2f94da6ed197d9d5c073f8643-features ghcr.io/dfberry/cloud-native-todo: latest (exit code: undefined) An error occurred building the container. Error: Command failed: docker tag vsc-workflows-74e113834fa9b832c34006758f5519e854fdeee2f94da6ed197d9d5c073f8643-features ghcr.io/dfberry/cloud-native-todo: latest
According to docs the
imageTag
can be a comma separated list but my comma separated list isn't working. I would like an image to have both the SHA tag and the latest.GitHub action in this run.