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 74643d3 commit b7ce924
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
with:
name: my-artifact
path: ${{ github.workspace }}/myapp/target/

- name: Docker login
run: |
docker login -u ${{ secrets.DOCKER_UNAME }} -p ${{ secrets.DOCKER_KEY }}
- name: Build Docker image
- name: Build Docker image and push
uses: docker/build-push-action@v4
with:
context: .
Expand All @@ -60,6 +64,7 @@ jobs:
docker push my-docker-image:1.0.1
# docker push my-docker-image:1.0.1
# docker-image:
# name: Publish to Docker Hub
# runs-on: ubuntu-latest
Expand Down

0 comments on commit b7ce924

Please sign in to comment.