Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: changed build method
Signed-off-by: celalettin1286 <[email protected]>
  • Loading branch information
celalettin1286 committed Jun 19, 2023
commit 5ba2eab7c72d21c1cc478ff8cad07f0e6c0739a3
25 changes: 2 additions & 23 deletions .github/workflows/pr-image-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Extract metadata from Github
id: meta
uses: docker/metadata-action@v4
Expand All @@ -104,30 +101,12 @@ jobs:

- name: Build the windows images
id: build
uses: docker/build-push-action@v4
with:
file: ./dockerfiles/Dockerfile.windows
context: .
platforms: windows/amd64
target: production
push: false
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
run: |
docker build -t ${{ steps.meta.outputs.tags }} -f ./dockerfiles/Dockerfile.windows .

- name: Sanity check it runs
# We do this for a simple check of dependencies
run: |
docker run --rm -t ${{ steps.meta.outputs.tags }} --help
shell: bash

- name: Build the debug multi-arch images
uses: docker/build-push-action@v4
with:
file: ./dockerfiles/Dockerfile.windows
context: .
platforms: windows/amd64
target: debug
push: false
load: false