diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 7a7ce9c..012cdc1 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -23,7 +23,6 @@ env: DOCKER_IMAGE_NAME: ${{ inputs.registry }}/${{ github.repository }} DOCKER_USERNAME: ${{ secrets.docker-username }} DOCKER_PASSWORD: ${{ secrets.docker-password }} - DOCKER_IMAGE_PATH: ./build ARTIFACT_NAME: docker-image jobs: determine-version: @@ -68,14 +67,14 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} file: ./Dockerfile - outputs: type=docker,dest=${{ env.DOCKER_IMAGE_PATH }}/build.tar + outputs: type=docker,dest=./build.tar build-args: | BUILD_VERSION=${{ env.SEMVER }} - name: Upload artifact uses: actions/upload-artifact@v2 with: name: ${{ env.ARTIFACT_NAME }} - path: ${{ env.DOCKER_IMAGE_PATH }} + path: ./build.tar push: name: push ${{ needs.determine-version.outputs.semVer }} to ${{ inputs.registry }} runs-on: ubuntu-latest