Skip to content

Commit

Permalink
Update apprenticeship-action.yml
Browse files Browse the repository at this point in the history
Adding action to push to dockerhub
  • Loading branch information
melippmann authored Nov 5, 2023
1 parent 815fa3a commit 6c5ad2c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/apprenticeship-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ jobs:
run: docker run -dp 80:80 liatrio-build
- name: run tests
uses: liatrio/github-actions/apprentice-action@808117af9b4a1e57c4cb79dbcb2d25de5ea3c68d

- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Docker Push
run: docker push ${{secrets.DOCKER_USER}}/liatrio_apprenticeship_exercise

0 comments on commit 6c5ad2c

Please sign in to comment.