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
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -222,13 +222,14 @@ jobs:
222
222
registry: ${{ env.REGISTRY }} # using the registry environment variable
223
223
username: ${{ github.actor }} # using the github.actor context
224
224
password: ${{ secrets.GITHUB_TOKEN }} # using the GITHUB_TOKEN secret
225
+
225
226
- name: Build and push Docker image
226
227
uses: docker/build-push-action@v4 # using the docker build and push action from the github marketplace - github.com/marketplace/actions/build-and-push-docker-images
227
228
with:
228
229
context: . # using the current directory as the context
229
230
push: true # push the docker image to the registry
230
-
tags: ghcr.io/${{ github.repository }}:${{ github.run_number }} # tag the docker image with the current run number from the github action workflow run
0 commit comments