Configure production environment in Docker workflow
Add production environment configuration for Docker publish workflow
This commit is contained in:
@@ -12,6 +12,11 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
environment:
|
||||||
|
name: production
|
||||||
|
url: https://github.com/denpiligrim/3dp-manager/pkgs/container/3dp-manager-server
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@@ -39,4 +44,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./client
|
context: ./client
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-client:${{ github.ref_name }}
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-client:${{ github.ref_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user