Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaStelmashchuk committed Mar 8, 2024
1 parent a64ce44 commit 67458bc
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/web_prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate tags
id: docker_tags
uses: dnaka91/[email protected]
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
registries: |
docker.io/nest2d-web
images: |
vovochkastelmashchuk/nest2d-web
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -34,5 +42,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: nest2dvue
push: true
tags: ${{ steps.docker_tags.outputs.tags }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 67458bc

Please sign in to comment.