Skip to content

Commit

Permalink
Merge pull request #35 from nVentiveUX/features/gh-actions-deprecations
Browse files Browse the repository at this point in the history
Bump all gh-actions to solve deprecations in CI
  • Loading branch information
bigbrozer authored Nov 27, 2022
2 parents 5eedc44 + a998c2d commit 83de1e6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
jobs:
auto_update:
name: "Auto-update"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"

steps:
- name: "Checkout project sources"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"
with:
token: "${{ secrets.RELEASE_PAT }}"
ref: "${{ github.head_ref }}"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@ on:
jobs:
lint:
name: "Linting"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v3"

- name: "Lint Dockerfile"
uses: "hadolint/hadolint-action@v1.6.0"
uses: "hadolint/hadolint-action@v3.0.0"
with:
dockerfile: "Dockerfile"

build:
name: "Build"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v3"

- name: "Set up QEMU"
uses: "docker/setup-qemu-action@v1"
uses: "docker/setup-qemu-action@v2"
with:
platforms: "amd64,arm64,arm"

- name: "Set up Docker Buildx"
id: "buildx"
uses: "docker/setup-buildx-action@v1"
uses: "docker/setup-buildx-action@v2"
with:
install: true

- name: "Build images"
uses: "docker/build-push-action@v2"
uses: "docker/build-push-action@v3"
with:
builder: "${{ steps.buildx.outputs.name }}"
context: "."
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ on:
jobs:
docker_image:
name: "Docker image"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
env:
IMAGE_NAME: "nventiveux/ttrss"

steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v3"

- name: "Set up QEMU"
uses: "docker/setup-qemu-action@v1"
uses: "docker/setup-qemu-action@v2"
with:
platforms: "amd64,arm64,arm"

- name: "Set up Docker Buildx"
id: "buildx"
uses: "docker/setup-buildx-action@v1"
uses: "docker/setup-buildx-action@v2"
with:
install: true

Expand All @@ -39,13 +39,13 @@ jobs:
echo "image_tags=${image_tags}" >> $GITHUB_OUTPUT
- name: "Login to DockerHub"
uses: "docker/login-action@v1"
uses: "docker/login-action@v2"
with:
username: "${{ secrets.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"

- name: "Build images"
uses: "docker/build-push-action@v2"
uses: "docker/build-push-action@v3"
with:
builder: "${{ steps.buildx.outputs.name }}"
context: "."
Expand All @@ -55,7 +55,7 @@ jobs:
tags: "${{ steps.prep.outputs.image_tags }}"

- name: "Update Docker Hub's README"
uses: "peter-evans/dockerhub-description@v2"
uses: "peter-evans/dockerhub-description@v3"
with:
username: "${{ secrets.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"
Expand Down

0 comments on commit 83de1e6

Please sign in to comment.