Buildx please work

This commit is contained in:
Kokomo123
2024-08-22 17:29:53 -04:00
parent 4638c1af7a
commit b3ba187884

View File

@@ -55,13 +55,16 @@ jobs:
echo "IMAGE_ID=$(echo ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME | tr '[A-Z]' '[a-z]')" >> $GITHUB_ENV
# region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Log In to Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build the docker image
run: |
docker build --platforms linux/amd64,linux/arm64 -t $IMAGE_NAME .
docker build --platforms linux/amd64,linux/arm64 -t $IMAGE_NAME
- name: Push image
run: |