Skip to content

Commit

Permalink
Update CI.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Aug 20, 2024
1 parent a370821 commit f8df5fc
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
image: ghcr.io/boschglobal/dse-gcc-builder:main
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build package metadata
id: package_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: dse/modelc
tags: |
Expand Down Expand Up @@ -93,17 +93,17 @@ jobs:
runs-on: [ubuntu-latest]
needs: [build, runtimes, tools]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image_simer
path: /tmp
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image_testscript
path: /tmp
Expand All @@ -114,7 +114,7 @@ jobs:
docker load --input /tmp/testscript.tar
docker image ls -a
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-linux-amd64-sandbox
path: .
Expand All @@ -141,13 +141,13 @@ jobs:
- windows-x64
- windows-x86
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Build package metadata
id: package_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: dse/modelc
tags: |
Expand All @@ -160,7 +160,7 @@ jobs:
run: |
echo "PACKAGE_VERSION=${{ fromJSON(steps.package_meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-${{ matrix.package_arch }}-package
path: ${{ env.build_dir }}/_dist
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image_${{ matrix.container }}
path: /tmp
Expand All @@ -211,7 +211,7 @@ jobs:
- testscript
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand All @@ -225,7 +225,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-${{ matrix.container }}
tags: |
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand All @@ -278,7 +278,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-simer
tags: |
Expand All @@ -291,15 +291,15 @@ jobs:
run: |
echo "PACKAGE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-linux-amd64-sandbox
path: sandbox/ModelC-linux-amd64-sandbox
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-linux-x86-sandbox
path: sandbox/ModelC-linux-x86-sandbox
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-linux-i386-sandbox
path: sandbox/ModelC-linux-i386-sandbox
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
arch: linux-amd64
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand All @@ -379,7 +379,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}-${{ matrix.name }}
tags: |
Expand All @@ -392,7 +392,7 @@ jobs:
run: |
echo "PACKAGE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.package_name }}-${{ matrix.arch }}-sandbox
path: .
Expand Down

0 comments on commit f8df5fc

Please sign in to comment.