Skip to content

Commit

Permalink
put auth prior
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Oct 8, 2024
1 parent 6feb648 commit 9a4f9c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/actions/build-publish-ocr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ runs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ inputs.token }}
- name: Lowercase the repo name
shell: bash
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push backend
uses: ./.github/actions/build-publish-ocr
with:
Expand Down

0 comments on commit 9a4f9c7

Please sign in to comment.