Skip to content

Commit

Permalink
workflows: update to newer ishworkh/container-image-artifact-* actions
Browse files Browse the repository at this point in the history
Take the newest version of these actions and stop generating warnings
about node versions in github.

Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Aug 26, 2024
1 parent f6257ae commit e832f6b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build the server image
run: make KIND=server PACKAGE_SOURCE=${{ matrix.package_source }} OS_NAME=${{ matrix.os}} BUILD_ARCH=${{ matrix.arch}} build-image
- name: Upload server image
uses: ishworkh/container-image-artifact-upload@v1.0.0
uses: ishworkh/container-image-artifact-upload@v2.0.0
with:
image: "samba-server:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Build the ad server image
run: make KIND=ad-server PACKAGE_SOURCE=${{ matrix.package_source }} OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
- name: Upload ad server image
uses: ishworkh/container-image-artifact-upload@v1.0.0
uses: ishworkh/container-image-artifact-upload@v2.0.0
with:
image: "samba-ad-server:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand All @@ -112,7 +112,7 @@ jobs:
run: make KIND=client OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
# The client image is used as a base for the samba-toolbox build process.
- name: Upload the client image
uses: ishworkh/container-image-artifact-upload@v1.0.0
uses: ishworkh/container-image-artifact-upload@v2.0.0
with:
image: "samba-client:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand All @@ -133,7 +133,7 @@ jobs:
# Download locally stored samba-client image to be used as base for building
# samba-toolbox.
- name: Download client image
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-client:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand All @@ -147,7 +147,7 @@ jobs:
run: make KIND=toolbox OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
# Upload the toolbox image for reference and/or image push
- name: Upload the toolbox image
uses: ishworkh/container-image-artifact-upload@v1.0.0
uses: ishworkh/container-image-artifact-upload@v2.0.0
with:
image: "samba-toolbox:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download server image
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand Down Expand Up @@ -209,12 +209,12 @@ jobs:
- name: get nodes
run: kubectl get nodes
- name: Download ad server image
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-ad-server:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Download file server image
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:${{ env.IMG_TAG }}"
container_engine: ${{ env.CONTAINER_CMD }}
Expand Down Expand Up @@ -246,45 +246,45 @@ jobs:
# pull in already built images we plan on pushing
# (server images)
- name: Fetch server default-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server nightly-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:nightly-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server nightly-centos-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:nightly-centos-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server devbuilds-centos-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-server:devbuilds-centos-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
# (ad server images)
- name: Fetch ad-server default-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-ad-server:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch ad-server nightly-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-ad-server:nightly-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
# (client images)
- name: Fetch client default-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-client:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
# (toolbox images)
- name: Fetch toolbox default-fedora-amd64
uses: ishworkh/container-image-artifact-download@v1.0.0
uses: ishworkh/container-image-artifact-download@v2.0.0
with:
image: "samba-toolbox:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
Expand Down

0 comments on commit e832f6b

Please sign in to comment.