mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
feat: Pushing docker containers by version tag (#421)
* feat: build docker image based on tag version * refactor: tabbing * refactor: revert conflict
This commit is contained in:
committed by
GitHub
parent
2a1cbf6ced
commit
4a713980bf
6
.github/workflows/build-deploy-container.yml
vendored
6
.github/workflows/build-deploy-container.yml
vendored
@@ -55,11 +55,11 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
id: build
|
id: build
|
||||||
with:
|
with:
|
||||||
context: .
|
context: ./
|
||||||
file: ./packages/webapp/Dockerfile
|
file: ./packages/webapp/Dockerfile
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/bigcapitalhq/webapp:latest
|
tags: ghcr.io/bigcapitalhq/webapp:latest, ghcr.io/bigcapitalhq/webapp:${{github.ref_name}}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Export digest
|
- name: Export digest
|
||||||
@@ -116,7 +116,7 @@ jobs:
|
|||||||
file: ./packages/server/Dockerfile
|
file: ./packages/server/Dockerfile
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/bigcapitalhq/server:latest
|
tags: ghcr.io/bigcapitalhq/server:latest, ghcr.io/bigcapitalhq/server:${{github.ref_name}}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Export digest
|
- name: Export digest
|
||||||
|
|||||||
Reference in New Issue
Block a user