github: update github actions versions.
This commit is contained in:
2
.github/workflows/deploy-betabooru.yaml
vendored
2
.github/workflows/deploy-betabooru.yaml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# https://github.com/marketplace/actions/kubectl-tool-installer
|
# https://github.com/marketplace/actions/kubectl-tool-installer
|
||||||
- name: Install Kubectl
|
- name: Install Kubectl
|
||||||
uses: azure/setup-kubectl@v1
|
uses: azure/setup-kubectl@v3
|
||||||
with:
|
with:
|
||||||
version: v1.21.5
|
version: v1.21.5
|
||||||
|
|
||||||
|
|||||||
10
.github/workflows/docker-build.yaml
vendored
10
.github/workflows/docker-build.yaml
vendored
@@ -36,19 +36,19 @@ jobs:
|
|||||||
|
|
||||||
# https://github.com/docker/setup-buildx-action
|
# https://github.com/docker/setup-buildx-action
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
# https://github.com/docker/login-action
|
# https://github.com/docker/login-action
|
||||||
# https://github.com/docker/build-push-action/blob/master/docs/advanced/push-multi-registries.md
|
# https://github.com/docker/build-push-action/blob/master/docs/advanced/push-multi-registries.md
|
||||||
- name: Login to Github Container Registry
|
- name: Login to Github Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ github.token }}
|
password: ${{ github.token }}
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
# Generate Docker tags from Git tags.
|
# Generate Docker tags from Git tags.
|
||||||
# https://github.com/docker/metadata-action
|
# https://github.com/docker/metadata-action
|
||||||
- name: Generate Docker tags
|
- name: Generate Docker tags
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
id: metadata
|
id: metadata
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
- name: Build image
|
- name: Build image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.metadata.outputs.tags }}
|
tags: ${{ steps.metadata.outputs.tags }}
|
||||||
|
|||||||
Reference in New Issue
Block a user