Skip to content

Commit

Permalink
Update workflow, hoping it won't break
Browse files Browse the repository at this point in the history
  • Loading branch information
fistons committed Feb 10, 2024
1 parent 510c492 commit 7b28389
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Build binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install libssl
run: sudo apt-get install -y pkg-config libssl-dev
- name: Update toolchain to last stable and install croos
Expand All @@ -39,7 +39,7 @@ jobs:
env:
SQLX_OFFLINE: true
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.docker-arch }}
path: |
Expand All @@ -49,20 +49,20 @@ jobs:
runs-on: ubuntu-latest
needs: [ build, set-vars ]
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- 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: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: rg.nl-ams.scw.cloud/pedr0
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push API docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand All @@ -76,7 +76,7 @@ jobs:
runs-on: ubuntu-latest
needs: docker
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: Rename files
run: |
for i in $(ls -d */ | sed 's#/##')
Expand Down

0 comments on commit 7b28389

Please sign in to comment.