Skip to content

Commit f9f6879

Browse files
committed
Test commit
Goals - checks automatic push - checks commit hash
1 parent 04f2511 commit f9f6879

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ jobs:
130130

131131
# https://docs.docker.com/build/ci/github-actions/multi-platform/
132132
docker-hub-build-and-publish:
133-
needs: [detect-code-related-file-changes]
134-
if: needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
133+
# needs: [detect-code-related-file-changes]
134+
# if: needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true'
135135
runs-on: ubuntu-22.04
136136
steps:
137137
- name: Check out the repo
@@ -142,17 +142,17 @@ jobs:
142142
uses: docker/setup-buildx-action@v3
143143
- name: Login to Docker Hub
144144
uses: docker/#-action@v3
145-
if: ${{ github.event_name == 'push'}}
145+
# if: ${{ github.event_name == 'push'}}
146146
with:
147147
username: ${{ secrets.DOCKERHUB_USERNAME }}
148148
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
149149
- name: Get short commit SHA1
150-
if: ${{ github.event_name == 'push'}}
150+
# if: ${{ github.event_name == 'push'}}
151151
shell: bash
152152
run: |
153153
echo "short_hash=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
154154
- name: Build and push
155-
if: ${{ github.event_name == 'push'}}
155+
# if: ${{ github.event_name == 'push'}}
156156
uses: docker/build-push-action@v5
157157
with:
158158
push: true

0 commit comments

Comments
 (0)