Skip to content

Commit

Permalink
Merge pull request #560 from sudo-bmitch/pr-update-gha
Browse files Browse the repository at this point in the history
Update GHA uses
  • Loading branch information
sudo-bmitch authored Jan 23, 2025
2 parents 37e5199 + f1a874a commit eeddb23
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go environment
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand All @@ -43,7 +43,7 @@ jobs:
- name: Upload OCI conformance results as build artifact
if: always() && steps.tests.outputs.has-report == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: oci-conformance-results-${{ matrix.go }}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go environment
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand All @@ -43,7 +43,7 @@ jobs:
- name: Upload OCI conformance results as build artifact
if: always() && steps.tests.outputs.has-report == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: oci-conformance-results-${{ matrix.go }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-action-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Start a test registry (zot)
run: |
set -x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Start a test registry (zot)
run: |
set -x
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare
id: prepare
Expand All @@ -35,20 +35,20 @@ jobs:
MAJOR=${MINOR%.*}
TAGS="${TAGS},${IMAGE}:${MINOR},${IMAGE}:${MAJOR}"
fi
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "version=${VERSION}" >>$GITHUB_OUTPUT
echo "tags=${TAGS}" >>$GITHUB_OUTPUT
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >>$GITHUB_OUTPUT
- name: Docker Login
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.repository_owner == 'opencontainers'
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: conformance/
# platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
- name: Upload OCI distribution-spec conformance results as build artifact
if: always() && steps.run-conformance.outputs.has-report == 'true'
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: oci-distribution-spec-conformance-results-${{ steps.build-conformance.outputs.conformance-version }}
path: |
Expand Down

0 comments on commit eeddb23

Please sign in to comment.