mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Update docker (#1349)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
110f9118b7
commit
419e4eea86
4
.github/workflows/build_and_test.yaml
vendored
4
.github/workflows/build_and_test.yaml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
dockerbuild/**
|
dockerbuild/**
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
if: steps.changed_files.outputs.any_modified == 'true'
|
if: steps.changed_files.outputs.any_modified == 'true'
|
||||||
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
|
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
if: steps.changed_files.outputs.any_modified == 'true'
|
if: steps.changed_files.outputs.any_modified == 'true'
|
||||||
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5
|
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
|
||||||
with:
|
with:
|
||||||
context: dockerbuild
|
context: dockerbuild
|
||||||
push: true
|
push: true
|
||||||
|
6
.github/workflows/dockerbuild.yaml
vendored
6
.github/workflows/dockerbuild.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
|
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@ -28,14 +28,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@62339db73c56dd749060f65a6ebb93a6e056b755
|
uses: docker/metadata-action@2a4836ac76fe8f5d0ee3a0d89aa12a80cc552ad3
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5
|
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
|
||||||
with:
|
with:
|
||||||
context: dockerbuild
|
context: dockerbuild
|
||||||
push: true
|
push: true
|
||||||
|
Loading…
Reference in New Issue
Block a user