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/docker.yml
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ name: Create and publish a Docker image
3
3
on:
4
4
push:
5
5
branches: ['main']
6
+
workflow_dispatch: # allow manually starting this workflow
6
7
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
7
8
env:
8
9
REGISTRY: ghcr.io
@@ -18,12 +19,6 @@ jobs:
18
19
steps:
19
20
- name: Checkout repository
20
21
uses: actions/checkout@v4
21
-
with:
22
-
# Clone submodules as well
23
-
submodules: 'true'
24
-
# Follow this https://stackoverflow.com/questions/60222741/github-actions-and-git-clone-issue
25
-
# For help setting up in the future
26
-
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
27
22
# Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
28
23
- name: Log in to the Container registry
29
24
uses: docker/login-action@v3
@@ -39,7 +34,7 @@ jobs:
39
34
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40
35
tags: |
41
36
# set latest tag for main branch
42
-
type=raw,value=iron
37
+
type=raw,value=jazzy
43
38
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
44
39
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
45
40
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
0 commit comments