Skip to content

Commit

Permalink
ci: confuse usage of docker tag to clean
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Sep 30, 2024
1 parent 1d4ed0f commit aa83627
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ RUN if [ "$BUILD_TYPE" = "release" ]; then \
elif [ "$BUILD_TYPE" = "push" ]; then \
echo "Installing Dojo at commit $DOJO_VERSION"; \
dojoup -c $DOJO_VERSION; \
elif [ "$BUILD_TYPE" = "workflow_dispatch" ]; then \
echo "Installing Dojo at commit $DOJO_VERSION"; \
dojoup -c $DOJO_VERSION; \
else \
echo "Installing latest stable version of Dojo"; \
dojoup; \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
- name: Set Docker tag for workflow_dispatch event
if: github.event_name == 'workflow_dispatch'
run: |
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c 1-7)
echo "tag_name=$SHORT_SHA" >> $GITHUB_OUTPUT
echo "DOCKER_TAG=${{ inputs.docker_tag }}" >> $GITHUB_ENV
- name: Set outputs
Expand Down

0 comments on commit aa83627

Please sign in to comment.