mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-18 13:12:42 -04:00
Renamed the workflow for better recognition and upgraded docker/build-push-action action to version 6
This commit is contained in:
parent
da5ef522f8
commit
ddeeb8cd58
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Docker
|
name: Docker-Builder
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
MY_TOKEN: ${{ secrets.MY_TOKEN }}
|
MY_TOKEN: ${{ secrets.MY_TOKEN }}
|
||||||
if: "${{ env.MY_TOKEN != '' }}"
|
if: "${{ env.MY_TOKEN != '' }}"
|
||||||
run: echo "token_defined=true" >> "$GITHUB_OUTPUT"
|
run: echo "token_defined=true" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: docker/Dockerfile
|
file: docker/Dockerfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user