Skip to content

Commit

Permalink
Do not set environment variable when extracting the tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
harvestcore committed Jun 28, 2022
1 parent 1e7c807 commit 07fefb0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -41,9 +38,9 @@ jobs:
- name: GitHub Registry - Tag images
run: |
docker tag ${{ matrix.image.name }} ${{ matrix.image.name }}:latest
docker tag ${{ matrix.image.name }} ${{ matrix.image.name }}:$RELEASE_VERSION
docker tag ${{ matrix.image.name }} ${{ matrix.image.name }}:${GITHUB_REF:10}
- name: GitHub Registry - Push images
run: |
docker push ${{ matrix.image.name }}:latest
docker push ${{ matrix.image.name }}:$RELEASE_VERSION
docker push ${{ matrix.image.name }}:${GITHUB_REF:10}

0 comments on commit 07fefb0

Please sign in to comment.