Skip to content

Commit

Permalink
error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 15, 2024
1 parent 8bf9379 commit f046ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- uses: actions/checkout@v4
- name: checkout the repo
run: |
docker login --username ${{ secrets.GH_USERNAME }} --password ${{ secrets.GH_TOKEN }} ghcr.io
docker build --build-arg BRANCH=$(git rev-parse --abbrev-ref HEAD) -t ghcr.io/drazzilb08/userscripts:${{ steps.extract_branch.outputs.branch }} .
docker push ghcr.io/drazzilb08/userscripts:
docker push ghcr.io/drazzilb08/userscripts:${{ steps.extract_branch.outputs.branch }}
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -39,4 +39,4 @@ jobs:
build-args: |
"BRANCH=patch"
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/userscripts:${{ steps.extract_branch.outputs.branch }}
tags: ${{ secrets.DOCKER_USERNAME }}/userscripts:${{ steps.extract_branch.outputs.branch }}

0 comments on commit f046ddd

Please sign in to comment.