update all actions to latest versions

pull/200/head
binhex 2 years ago
parent 19295caecf
commit 13aaaae52b

@ -12,20 +12,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Login to GitLab
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME }}
@ -43,7 +43,7 @@ jobs:
run: |
test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'"
echo "::set-output name=test_tag::$test_tag"
echo "::echo "test_tag=$test_tag" >> $GITHUB_OUTPUT"
id: generate_temporary_tag_name
- name: Generate app name
shell: bash

@ -10,26 +10,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Login to GitLab
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_TOKEN }}
- name: Sync GitHub README.md with Docker Hub
uses: peter-evans/dockerhub-description@v2
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} # NOTE: This MUST be the password NOT the token
@ -61,7 +61,7 @@ jobs:
run: |
test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'"
echo "::set-output name=test_tag::$test_tag"
echo "::echo "test_tag=$test_tag" >> $GITHUB_OUTPUT"
id: generate_temporary_tag_name
- name: Generate app name
shell: bash

Loading…
Cancel
Save