Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 132/upgrade GitHub actions #133

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 5 additions & 4 deletions .github/workflows/build_generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Build base image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: rdock-${{ inputs.distribution }}:base
Expand Down Expand Up @@ -51,6 +51,7 @@ jobs:
bin/ lib/ include/ data/ scripts/ Makefile license.txt README.md

- name: Upload bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rdock-${{ inputs.compiler }}-${{ inputs.distribution }}-${{ inputs.arch }}
path: rdock-${{ steps.set_candidate_name.outputs.CANDIDATE_NAME }}.tar.gz
10 changes: 6 additions & 4 deletions .github/workflows/build_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
check-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup-lint
run: |
sudo apt-get update
Expand Down Expand Up @@ -46,11 +46,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3 # probably not needed, but just in case
- uses: actions/checkout@v4 # probably not needed, but just in case
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts/
pattern: rdock-*
merge-multiple: true

- name: Set version
id: set_version
Expand All @@ -60,6 +62,6 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.set_version.outputs.RELEASE_VERSION }}
artifacts: artifacts/*/*.tar.gz
artifacts: artifacts/*.tar.gz
draft: true

8 changes: 4 additions & 4 deletions .github/workflows/rdock-utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: lint
uses: chartboost/ruff-action@v1

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

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build rdock-utils dev image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./rdock-utils
tags: ghcr.io/cbdd/rdock-utils:dev
Expand Down
Loading