diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 90b16e7..a29ab13 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -34,14 +34,21 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + # docker tag - name: Set outputs for docker build id: vars run: | - echo "image_name=ghcr.io/${{ github.repository }}" >> $GITHUB_OUTPUT + echo "image_name=${{ github.repository }}" >> $GITHUB_OUTPUT echo "image_tag=$(git rev-parse --short HEAD)-${{ github.run_id }}" >> $GITHUB_OUTPUT + # - name: Login to Docker Hub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build Docker image and push to GitHub Container Registry - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64