We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d14492b commit 379729cCopy full SHA for 379729c
.github/workflows/release.yml
@@ -11,12 +11,15 @@ jobs:
11
- uses: actions/checkout@v2
12
- name: Setup Kustomize
13
uses: ./.github/actions/kustomize
14
+ - name: Get version
15
+ id: get_version
16
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
17
- name: Generate release asset
18
run: |
19
mkdir -p config/release
20
cp config/default/* config/release
21
cd config/release
- kustomize edit set image fluxcd/source-controller=fluxcd/source-controller:${{ github.ref }}
22
+ kustomize edit set image fluxcd/source-controller=fluxcd/source-controller:${{ steps.get_version.outputs.VERSION }}
23
kustomize build . > source-controller.yaml
24
- name: Push image
25
uses: docker/build-push-action@v1
0 commit comments