diff --git a/.github/workflows/docker-buildx-bake-build.yml b/.github/workflows/docker-buildx-bake-build.yml index 4ab02f3..03c46c1 100644 --- a/.github/workflows/docker-buildx-bake-build.yml +++ b/.github/workflows/docker-buildx-bake-build.yml @@ -11,10 +11,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + #- name: Set up QEMU + # run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - name: Set up QEMU - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + uses: docker/setup-qemu-action@v3 # - name: Login to Docker Hub (if needed) # uses: docker/login-action@v1 @@ -23,11 +26,17 @@ jobs: # password: ${{ secrets.DOCKER_PASSWORD }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to GitHub Container Registry - run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin + uses: docker/setup-buildx-action@v3 + #- name: Login to GitHub Container Registry + # run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin + - name: 'Login to GitHub Container Registry' + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{github.actor}} + password: ${{secrets.GHCR_PAT}} + - name: Build and Push Docker Compose Services run: | docker buildx bake --push