diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index 50fa896..bbc20da 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -25,16 +25,10 @@ jobs: - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - registry: ghcr.io + registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Extract Metadata for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -48,8 +42,6 @@ jobs: push: true build-args: | BUILDKIT_CONTEXT_KEEP_GIT_DIR=true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - - ##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:latest - ##ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.ref_name}} + tags: | + ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:latest + ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:1.4.0