diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c323350..0c32234 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,10 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v1 + - + name: Get tag version + id: get_version + run: echo ::set-output name=VERSION::``${GITHUB_REF#refs/tags/}`` - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -29,5 +33,7 @@ jobs: with: context: . push: true - build-args: BUILD_VERSION=${{ steps.get_version.outputs.GIT_TAG }} - tags: alcounit/selenosis:${{ steps.get_version.outputs.GIT_TAG }} \ No newline at end of file + build-args: BUILD_VERSION=${{ steps.get_version.outputs.VERSION }} + tags: | + alcounit/selenosis:latest + alcounit/selenosis:${{ steps.get_version.outputs.VERSION }} \ No newline at end of file