Skip to content

Commit

Permalink
Actions version bump (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
f213 authored Jun 20, 2024
1 parent c7646b5 commit fc777d6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
id: setup-python
with:
python-version-file: ".python-version"

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
venv
Expand Down Expand Up @@ -49,14 +49,14 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
id: setup-python
with:
python-version-file: '.python-version'

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
venv
Expand All @@ -74,35 +74,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
id: setup-python
with:
python-version-file: '.python-version'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

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

- name: Generate image identifier
id: image
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -119,12 +119,12 @@ jobs:
steps:
- name: Read image identifiers
id: image
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}

- name: Update the image
uses: appleboy/ssh-action@v0.1.5
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DEPLOY_HOST }}
username: circle
Expand Down

0 comments on commit fc777d6

Please sign in to comment.