chore: workflow dependencies updated

This commit is contained in:
Jack Wills
2023-11-14 12:43:14 +00:00
parent e301b51891
commit 6a4cf6490d
+6 -10
View File
@@ -77,7 +77,7 @@ jobs:
uses: actions/download-artifact@v3
- name: Update Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1
with:
makeLatest: true
name: ${{ github.ref_name }}
@@ -87,7 +87,6 @@ jobs:
artifacts: |
**/oxker_*.zip
**/oxker_*.tar.gz
#########################
## Publish to crates.io #
#########################
@@ -103,11 +102,10 @@ jobs:
uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
#########################################
## Build images for Dockerhub & ghcr.io #
#########################################
image_build:
needs: [cargo_publish]
runs-on: ubuntu-latest
@@ -116,14 +114,14 @@ jobs:
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -133,7 +131,7 @@ jobs:
CURRENT_SEMVER=${GITHUB_REF_NAME#v}
echo "CURRENT_SEMVER=$CURRENT_SEMVER" >> $GITHUB_ENV
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
id: buildx
with:
install: true
@@ -146,6 +144,4 @@ jobs:
-t ghcr.io/${{ github.repository_owner }}/oxker:${{env.CURRENT_SEMVER}} \
--provenance=false --sbom=false \
--push \
-f containerised/Dockerfile .
-f containerised/Dockerfile .