Upgrade GitHub Actions and enable dependabot for them
This commit is contained in:
parent
bc78447321
commit
7494e166d4
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: daily
|
||||
21
.github/workflows/docker.yml
vendored
21
.github/workflows/docker.yml
vendored
@ -29,17 +29,17 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
|
||||
- name: Detect correct Git ref for image build
|
||||
id: git
|
||||
uses: actions/github-script@v3
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
let out = {ref: 'HEAD', ver: ''};
|
||||
@ -89,7 +89,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
if: ${{ matrix.publish }}
|
||||
|
||||
- name: Login to Quay.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.QUAYIO_ROBOT_USERNAME }}
|
||||
@ -105,7 +105,7 @@ jobs:
|
||||
if: ${{ matrix.publish }}
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_BOT_USER }}
|
||||
password: ${{ secrets.DOCKERHUB_BOT_PASS }}
|
||||
@ -155,7 +155,7 @@ jobs:
|
||||
&& startsWith(github.ref, 'refs/tags/docker/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Parse release version from Git tag
|
||||
id: release
|
||||
@ -167,11 +167,10 @@ jobs:
|
||||
working-directory: ./docker/coturn
|
||||
|
||||
- name: Release on GitHub
|
||||
uses: actions/create-release@v1
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: docker/${{ steps.release.outputs.VERSION }}
|
||||
release_name: docker/${{ steps.release.outputs.VERSION }}
|
||||
name: docker/${{ steps.release.outputs.VERSION }}
|
||||
body: |
|
||||
[Changelog](${{ steps.changelog.outputs.LINK }})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user