Skip to content

Commit 8e1f217

Browse files
committed
fix(ci): Add Docker auth step to self-action
1 parent 2a307cc commit 8e1f217

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/self-action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ main ]
66

77
env:
8+
REGISTRY: ghcr.io
89
EXTRACTOR_REPOSITORY: advanced-security/codeql-extractor-iac
910

1011
jobs:
@@ -15,6 +16,13 @@ jobs:
1516
- name: "Checkout"
1617
uses: actions/checkout@v4
1718

19+
- name: Log in to the Container registry
20+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
21+
with:
22+
registry: ${{ env.REGISTRY }}
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
25+
1826
- name: "Run the action"
1927
uses: ./
2028
with:

0 commit comments

Comments
 (0)