Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 2, 2024
1 parent 3c04406 commit 3f2ea09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: checkout the repo
run: |
docker login --username ${{ secrets.GH_USERNAME }} --password ${{ secrets.GH_TOKEN }} ghcr.io
docker build -t ghcr.io/username/repo:latest .
docker push ghcr.io/username/repo:latest
docker build -t ghcr.io/drazzilb08/userscripts:dev .
docker push ghcr.io/drazzilb08/userscripts:dev
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
fetch-depth: 0

- name: Build GH Container
run: docker build -t ghcr.io/${{ github.repository }}:${{ github.ref }} .

run: |
docker login --username ${{ secrets.GH_USERNAME }} --password ${{ secrets.GH_TOKEN }} ghcr.io
docker build -t ghcr.io/drazzilb08/userscripts:${{ steps.get_version.outputs.VERSION }}
docker push ghcr.io/drazzilb08/userscripts:${{ steps.get_version.outputs.VERSION }}

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 3f2ea09

Please sign in to comment.