From 59a6a21a3d2635df5c153c892ec708ff9a2068d9 Mon Sep 17 00:00:00 2001 From: Glutamat42 Date: Sat, 14 Dec 2024 17:17:07 +0100 Subject: [PATCH] fix --- .github/workflows/release.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69edf98..7c712e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,25 +19,19 @@ jobs: uses: actions/checkout@v4 - name: Log in to the Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@v3 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Build Docker image uses: docker/build-push-action@v2 with: build-args: | MOODLE_VERSION=${{ matrix.moodle_version }} push: true -# tags: adler-moodle:${{ matrix.moodle_version }}-${{ github.event.release.tag_name }} + tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ matrix.moodle_version }} # # - name: Prepare release body (description)