We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69503d7 commit b786b4eCopy full SHA for b786b4e
.github/workflows/main.yml
@@ -19,6 +19,7 @@ jobs:
19
steps:
20
- uses: actions/checkout@v4
21
- id: get-image-tag
22
+ name: define-docker-image-tag
23
run: |
24
git branch
25
current_branch=${GITHUB_HEAD_REF/\//-}
@@ -27,7 +28,7 @@ jobs:
27
28
echo "value=${image_tag}" >> "$GITHUB_OUTPUT"
29
deploy-docker-image:
30
needs: get-docker-image-tag-to-use
- if: ${{ (needs.get-docker-image-tag-to-use.outputs.image-tag != 'latest') }}
31
+ if: ${{ (needs.get-docker-image-tag-to-use.outputs.image-tag != 'latest') || (github.event_name == 'push') }}
32
uses: ./.github/workflows/deploy-docker-image.yml
33
with:
34
container-image: rcdt/robotics:${{ needs.get-docker-image-tag-to-use.outputs.image-tag }}
0 commit comments