Skip to content

Commit

Permalink
Merge pull request #1 from madmini/feature/bump-actions
Browse files Browse the repository at this point in the history
Update actions
  • Loading branch information
TrAsKiN authored Jul 6, 2024
2 parents 67ff350 + 179d51b commit 24a285c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
if: ${{ steps.docker-image.outputs.exists == 'false' }}
run: |
echo response=$(curl -s --head -w %{http_code} https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/$(curl -sH "Accept: application/vnd.github.v3+json" --url "https://api.github.com/repos/citizenfx/fivem/tags?per_page=100" | jq -r 'first(.[] | {name: .name | match("v1.0.0.(${{ steps.latest-fivem-tag.outputs.tag }})").captures | .[].string, hash: .commit.sha} | join("-"))')/fx.tar.xz -o /dev/null) >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ steps.fxserver-artifact.outputs.response == '200' }}
- uses: docker/login-action@v2
- uses: docker/login-action@v3
if: ${{ steps.fxserver-artifact.outputs.response == '200' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v6
if: ${{ steps.fxserver-artifact.outputs.response == '200' }}
with:
push: true
Expand Down

0 comments on commit 24a285c

Please sign in to comment.