Skip to content

Commit b6e5dbd

Browse files
committed
fix(devcontainer): update image tagging to use version from .devcontainer/VERSION
1 parent 5406008 commit b6e5dbd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.devcontainer/VERSION‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

‎.github/workflows/build_images.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
push: true
5757
tags: |
5858
ghcr.io/getsentry/sentry-ruby-devcontainer-${{ matrix.flavor }}:${{ steps.version.outputs.version }}
59-
ghcr.io/getsentry/sentry-ruby-devcontainer-${{ matrix.flavor }}:latest
59+
${{ github.ref == 'refs/heads/master' && format('ghcr.io/getsentry/sentry-ruby-devcontainer-{0}:latest', matrix.flavor) || '' }}
6060
build-args: |
6161
BASE_IMAGE=${{ matrix.base_image }}
6262
RUBY_VERSION=${{ matrix.ruby_version }}

0 commit comments

Comments
 (0)