kopia lustrzana https://github.com/mumble-voip/mumble-docker
Merge PR #37: Update workflows
commit
da48cf431b
|
@ -24,17 +24,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Build
|
- name: Set up Docker Build
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: ${{ inputs.publish }}
|
if: ${{ inputs.publish }}
|
||||||
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 }}
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
||||||
run: echo "TAGS=mumblevoip/mumble-server:${{ inputs.mumble_version }}, mumblevoip/mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV
|
run: echo "TAGS=mumblevoip/mumble-server:${{ inputs.mumble_version }}, mumblevoip/mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: ${{ inputs.platforms }}
|
platforms: ${{ inputs.platforms }}
|
||||||
|
|
|
@ -36,4 +36,4 @@ jobs:
|
||||||
docker_version: '0'
|
docker_version: '0'
|
||||||
publish: false
|
publish: false
|
||||||
update_latest: true
|
update_latest: true
|
||||||
platforms: "linux/amd64"
|
platforms: "linux/amd64,linux/arm64"
|
||||||
|
|
|
@ -28,5 +28,5 @@ jobs:
|
||||||
docker_version: ${{ github.event.inputs.docker_version }}
|
docker_version: ${{ github.event.inputs.docker_version }}
|
||||||
publish: ${{ github.event.inputs.publish == 'true' }}
|
publish: ${{ github.event.inputs.publish == 'true' }}
|
||||||
update_latest: ${{ github.event.inputs.update_latest == 'true' }}
|
update_latest: ${{ github.event.inputs.update_latest == 'true' }}
|
||||||
platforms: "linux/amd64"
|
platforms: "linux/amd64,linux/arm64"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
@ -12,5 +12,5 @@ jobs:
|
||||||
docker_version: '0'
|
docker_version: '0'
|
||||||
publish: true
|
publish: true
|
||||||
update_latest: ${{ github.event.client_payload.is_latest }}
|
update_latest: ${{ github.event.client_payload.is_latest }}
|
||||||
platforms: "linux/amd64"
|
platforms: "linux/amd64,linux/arm64"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
Ładowanie…
Reference in New Issue