diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dd34c79a..b03a8fbc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,4 +8,4 @@ updates: - package-ecosystem: "maven" directory: "/" # Location of package manifests schedule: - interval: "daily" + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e8f59400..ec29211c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -16,7 +16,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up environment variables - run: echo "IMAGE_TAG=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.event.release.tag_name }}" >> $GITHUB_ENV + run: | + GIT_TAG=${GITHUB_REF#refs/tags/} + echo "IMAGE_TAG=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:$GIT_TAG" >> $GITHUB_ENV - name: Login to ghcr run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin