You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
14
+
permissions:
15
+
contents: read
16
+
packages: write
17
+
18
+
env:
19
+
REGISTRY: ghcr.io
20
+
IMAGE_NAME: ${{ github.repository }}
21
+
22
+
steps:
23
+
- name: Checkout the code
24
+
uses: actions/checkout@v4
25
+
26
+
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
27
+
- name: Log in to the Container registry
28
+
uses: docker/login-action@v3
29
+
with:
30
+
registry: ${{ env.REGISTRY }}
31
+
username: ${{ github.actor }}
32
+
password: ${{ secrets.GITHUB_TOKEN }}
33
+
34
+
- name: Extract metadata (tags, labels) for Docker
0 commit comments