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