Skip to content

Commit

Permalink
CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
plvines committed Dec 20, 2024
1 parent 865b2d3 commit 21d5eeb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Build
run: ./build.sh

- name: Create Framework Build Artifact
- name: Create Build Artifact
run: "tar cvf ${{ github.event.repository.name }}.tar.gz -C /__w/raceboat/raceboat/ ./racesdk"

- name: Upload Build Artifact
Expand Down Expand Up @@ -107,9 +107,6 @@ jobs:
- name: debug ls
run: ls -R racesdk

- name: debug ls
run: ls -R racesdk/package/LINUX_x86_64

- name: debu pwdg
run: pwd

Expand Down Expand Up @@ -153,17 +150,18 @@ jobs:
- name: Build and Push raceboat-compile Docker Image
uses: docker/build-push-action@v4
with:
context: ${{ GITHUB_WORKSPACE }}
context: /home/runner/work/raceboat/raceboat
# context: "{{defaultContext}}:raceboat-compile-image"
file: raceboat-compile-image/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: ${{ steps.cache.outputs.cache-from }}
cache-to: ${{ steps.cache.outputs.cache-to }}

runtime-image:
needs: [compile-image]
needs: [build-framework]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -209,7 +207,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}/runtime
images: ghcr.io/${{ github.repository }}/raceboat-runtime
tags: |
type=ref,event=branch
type=ref,event=pr
Expand All @@ -221,14 +219,15 @@ jobs:
id: cache
uses: int128/docker-build-cache-config-action@v1
with:
image: ghcr.io/${{ github.repository }}/runtime/cache
image: ghcr.io/${{ github.repository }}/raceboat-runtime/cache

- name: Build and Push runtime Docker Image
- name: Build and Push raceboat-runtime Docker Image
uses: docker/build-push-action@v4
with:
context: ${{ GITHUB_WORKSPACE }}
file: runtime-image/Dockerfile
platforms: linux/amd64,linux/arm64
context: /home/runner/work/raceboat/raceboat
# context: "{{defaultContext}}:raceboat-runtime-image"
file: raceboat-runtime-image/Dockerfile
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 21d5eeb

Please sign in to comment.