Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightChaser committed Feb 2, 2024
1 parent de85f70 commit e1ac1d3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and release to DockerHub
env:
NAME: knightchaser # DockerHub account name
REPO: goanonpicdb-aws # DockerHub repository name
run: |
docker build --tag $NAME/$REPO .
docker tag $NAME/$REPO:latest $NAME/$REPO:latest
docker push $NAME/$REPO:latest
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/goanonpicdb-aws:latest

0 comments on commit e1ac1d3

Please sign in to comment.