Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from ajktown/disable-latest-pipeline
Browse files Browse the repository at this point in the history
Pipeline latest removed
  • Loading branch information
mlajkim authored Aug 10, 2024
2 parents c18c3ae + ad413c0 commit 50d39f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
if: github.event_name == 'pull_request'
run: docker push ajktown/golf:pr${{ github.event.pull_request.number }}

- name: Build the Docker image as latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: docker build --file Dockerfile --tag ajktown/golf:latest .
# - name: Build the Docker image as latest
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# run: docker build --file Dockerfile --tag ajktown/golf:latest .

- name: Push the Docker image as latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: docker push ajktown/golf:latest
# - name: Push the Docker image as latest
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# run: docker push ajktown/golf:latest

0 comments on commit 50d39f6

Please sign in to comment.