Skip to content

Commit f7f8883

Browse files
authored
tweaking release action (#28)
1 parent 7ca8428 commit f7f8883

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,32 @@ jobs:
2626
echo "Invalid tag format: ${GITHUB_REF_NAME}"
2727
exit 1
2828
fi
29-
echo "APPWRAPPER_VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV"
29+
echo "RELEASE_VERSION=${GITHUB_REF_NAME}" >> "$GITHUB_ENV"
3030
3131
- name: Set up Go
3232
uses: actions/setup-go@v5
3333
with:
3434
go-version-file: './go.mod'
3535

3636
- name: docker login
37-
uses: docker/login-action@v2
37+
uses: docker/login-action@v3
3838
with:
3939
registry: quay.io
4040
username: ${{ secrets.QUAY_USERNAME }}
4141
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
4242

4343
- name: Build and Push Images
4444
run: |
45-
make docker-buildx -e TAG=${APPWRAPPER_VERSION} -e quay_repository=quay.io/ibm
45+
make docker-buildx -e TAG=${RELEASE_VERSION} -e quay_repository=quay.io/ibm
4646
4747
- name: Create Install YAML
4848
run: |
49-
make build-installer -e TAG=${APPWRAPPER_VERSION} -e quay_repository=quay.io/ibm
49+
make build-installer -e TAG=${RELEASE_VERSION} -e quay_repository=quay.io/ibm
5050
5151
- name: Create GitHub Release
5252
uses: softprops/action-gh-release@v1
5353
with:
54-
name: Release ${{ env.APPWRAPPER_VERSION }}
54+
name: Release ${{ env.RELEASE_VERSION }}
5555
fail_on_unmatched_files: true
5656
files: |
5757
./dist/install.yaml

0 commit comments

Comments
 (0)