Skip to content

Commit e876238

Browse files
committed
Use correct dockerfile
1 parent ea7af97 commit e876238

File tree

1 file changed

+2
-38
lines changed

1 file changed

+2
-38
lines changed

.github/workflows/publish_docker.yml

+2-38
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
3232

33-
# - name: Set up QEMU
34-
# uses: docker/setup-qemu-action@v3
35-
3633
- name: Set up Docker Buildx
3734
uses: docker/setup-buildx-action@v3
3835

@@ -42,6 +39,7 @@ jobs:
4239
registry: ${{ env.REGISTRY }}
4340
username: ${{ github.actor }}
4441
password: ${{ secrets.GITHUB_TOKEN }}
42+
4543
- name: Extract metadata (tags, labels) for Docker
4644
id: meta
4745
uses: docker/metadata-action@v5
@@ -60,6 +58,7 @@ jobs:
6058
id: build
6159
uses: docker/build-push-action@v6
6260
with:
61+
file: docker/Dockerfile
6362
platforms: ${{ env.ARCH_TAG }}
6463
labels: ${{ steps.meta.outputs.labels }}
6564
outputs: type=image,"name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}",push-by-digest=true,name-canonical=true,push=true
@@ -114,38 +113,3 @@ jobs:
114113
run: |
115114
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}:${{ steps.meta.outputs.version }}
116115
117-
# - name: Build Docker image
118-
# uses: docker/build-push-action@v6
119-
# with:
120-
# context: .
121-
# load: true
122-
# push: false
123-
# file: docker/Dockerfile
124-
# platforms: linux/${{ env.ARCH_TAG }}
125-
# tags: ${{ steps.meta.outputs.tags }}
126-
# labels: ${{ steps.meta.outputs.labels }}
127-
# outputs: type=docker, dest=${{ runner.temp }}/image.tar
128-
129-
# - name: Upload artifact
130-
# uses: actions/upload-artifact@v4
131-
# with:
132-
# name: ${{ matrix.os}}
133-
# path: ${{ runner.temp }}/image.tar
134-
# retention-days: 1
135-
136-
# push:
137-
# runs-on: ubuntu-latest
138-
# needs: build
139-
# steps:
140-
# - name: Download artifacts
141-
# uses: actions/download-artifact@v4
142-
# with:
143-
# pattern: "ubuntu-*.tar"
144-
# path: images
145-
146-
# - name: Load image (arm)
147-
# run: |
148-
# ls -l images/
149-
# # docker load --input images/ubuntu-24.04-arm.tar
150-
# # docker load --input images/ubuntu-24.04.tar
151-
# # docker image ls -a

0 commit comments

Comments
 (0)