Skip to content

Commit

Permalink
feat: Pushing docker containers by version tag (bigcapitalhq#421)
Browse files Browse the repository at this point in the history
* feat: build docker image based on tag version

* refactor: tabbing

* refactor: revert conflict
  • Loading branch information
cloudsbird authored Apr 29, 2024
1 parent 2a1cbf6 commit 4a71398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
uses: docker/build-push-action@v5
id: build
with:
context: .
context: ./
file: ./packages/webapp/Dockerfile
platforms: ${{ matrix.platform }}
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 }}

- name: Export digest
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
file: ./packages/server/Dockerfile
platforms: ${{ matrix.platform }}
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 }}

- name: Export digest
Expand Down

0 comments on commit 4a71398

Please sign in to comment.