Skip to content

Commit e3b3484

Browse files
committed
+changelog-ignore: github action
1 parent 63fb75f commit e3b3484

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/template.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
needs: determine-version
4747
env:
4848
SEMVER: ${{ needs.determine-version.outputs.semVer }}
49-
name: deploy ${{ needs.determine-version.outputs.semVer }}
49+
name: build ${{ needs.determine-version.outputs.semVer }}
5050
steps:
5151
- uses: actions/checkout@v3
5252
- name: Docker meta
@@ -57,25 +57,26 @@ jobs:
5757
tags: |
5858
type=raw,value=${{ env.SEMVER }},priority=900
5959
type=sha
60-
type=raw,value=latest
61-
62-
- name: Build and push
60+
type=raw,value=latest
61+
- name: Build
6362
id: docker_build
6463
uses: docker/build-push-action@v2
6564
with:
6665
context: .
6766
tags: ${{ steps.meta.outputs.tags }}
6867
labels: ${{ steps.meta.outputs.labels }}
6968
file: ./Dockerfile
69+
outputs: type=docker,dest=${{ env.DOCKER_IMAGE_PATH }}
7070
build-args: |
7171
BUILD_VERSION=${{ env.SEMVER }}
72-
DOCKER_IMAGE_PATH=${{ env.DOCKER_IMAGE_PATH }}
72+
DOCKER_BUILDKIT=1
7373
- name: Upload artifact
7474
uses: actions/upload-artifact@v2
7575
with:
7676
name: ${{ env.DOCKER_IMAGE_NAME }}
7777
path: ${{ env.DOCKER_IMAGE_PATH }}
78-
push-image:
78+
push:
79+
name: push ${{ needs.determine-version.outputs.semVer }} to ${{ inputs.registry }}
7980
runs-on: ubuntu-latest
8081
needs:
8182
- determine-version

0 commit comments

Comments
 (0)