Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vladi14 committed Nov 11, 2023
1 parent 585f7b5 commit daf8af9
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

# - name: Build Docker Image
# run: |
# ls -l
# docker build -t my-docker-image:${{ github.run_number }} -f ${{ github.workspace }}/Dockerfile .
# docker tag my-docker-image:${{ github.run_number }} my-docker-image:$APP_VERSION
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: |
dastox/maven-hello-world:${{ github.event.after }}
- name: Push Docker Image to Docker Hub
run: |
Expand Down

0 comments on commit daf8af9

Please sign in to comment.