Skip to content

Commit

Permalink
push to docker hub added
Browse files Browse the repository at this point in the history
  • Loading branch information
blackav committed Jun 12, 2023
1 parent f336f45 commit c6217e2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ejudge:$(date +%s)
run: docker build . --file Dockerfile --tag blackav/ejudge:master
- name: docker push
run: docker push blackav/ejudge:master

0 comments on commit c6217e2

Please sign in to comment.