We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea5e55 commit bdb7fb1Copy full SHA for bdb7fb1
.github/workflows/docker-image.yml
@@ -18,15 +18,13 @@ jobs:
18
steps:
19
- uses: actions/checkout@v3
20
21
- - name: Build image
22
- run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
23
-
24
- name: Log in to registry
25
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
26
27
- name: Push image
28
run: |
29
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
+
30
31
# Change all uppercase to lowercase
32
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
@@ -40,3 +38,4 @@ jobs:
40
38
echo VERSION=$VERSION
41
39
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
42
docker push $IMAGE_ID:$VERSION
+ make docker-build docker-push IMG=$IMAGE_ID:$VERSION
0 commit comments