Skip to content

Commit

Permalink
Adding auth with secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
marianabuhazi committed May 7, 2024
1 parent d0d4463 commit 57618a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/regression-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
name: Code Format Check
runs-on: ubuntu-latest

env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

container:
image: columbiasld:ubuntu18-small
credentials:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -54,4 +61,4 @@ jobs:
if ! $GITHUB_WORKSPACE/utils/scripts/actions-pipeline/code-format/format_modified.sh -g -ca; then
echo "Code format check failed. Please fix the formatting issues by running the following script: /utils/scripts/format_modified.sh"
exit 1
fi
fi

0 comments on commit 57618a1

Please sign in to comment.