mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 05:29:58 +01:00
Update docker (#1235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
2f901cab6a
commit
173e658b3c
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@a5609cb39f57be157c39b77359abfaa43aeaeb8f
|
uses: docker/login-action@b4bedf8053341df3b5a9f9e0f2cf4e79e27360c6
|
||||||
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@4e4ee680f69700760d5620a94c020aef883043aa
|
uses: docker/build-push-action@4c1b68d83ad20cc1a09620ca477d5bbbb5fa14d0
|
||||||
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@a5609cb39f57be157c39b77359abfaa43aeaeb8f
|
uses: docker/login-action@b4bedf8053341df3b5a9f9e0f2cf4e79e27360c6
|
||||||
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@b67fef219a3c5542bf1d0948862a08152653b4d4
|
uses: docker/metadata-action@879dcbb708d40f8b8679d4f7941b938a086e23a7
|
||||||
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@4e4ee680f69700760d5620a94c020aef883043aa
|
uses: docker/build-push-action@4c1b68d83ad20cc1a09620ca477d5bbbb5fa14d0
|
||||||
with:
|
with:
|
||||||
context: dockerbuild
|
context: dockerbuild
|
||||||
push: true
|
push: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user