diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e96cbad..a657165 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v4.1.6 - name: Log in to the Container registry - uses: docker/login-action@3.2.0 + uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -29,14 +29,14 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@5.5.1 + uses: docker/metadata-action@v5.5.1 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} - name: Build and push Docker image - uses: docker/build-push-action@5.3.0 + uses: docker/build-push-action@v5.3.0 with: context: . push: true