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)