Skip to content

Commit

Permalink
deploy to dev on master and release to prd (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoArregui authored Apr 29, 2024
1 parent 034ff88 commit 8b4be58
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 31 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/docker-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,18 @@ jobs:
COMMIT_HASH=${{ github.event.inputs.commit_hash }}
docker pull quay.io/decentraland/lods-generator:${COMMIT_HASH}
docker tag quay.io/decentraland/lods-generator:${COMMIT_HASH} quay.io/decentraland/lods-generator:next
docker push quay.io/decentraland/lods-generator:next
docker push quay.io/decentraland/lods-generator:next
deployment:
needs: [quay-build-push]
name: "Deploy to: dev"
runs-on: ubuntu-latest
steps:
- name: Trigger deployment
id: deploy
uses: decentraland/dcl-deploy-action@main
with:
dockerImage: "${{ needs.quay-build-push.outputs.registry-path }}"
serviceName: lods-generator
env: dev
token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/docker-release.tml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ jobs:
docker pull quay.io/decentraland/lods-generator:${COMMIT_HASH}
docker tag quay.io/decentraland/lods-generator:${COMMIT_HASH} quay.io/decentraland/lods-generator:latest
docker push quay.io/decentraland/lods-generator:latest

deployment:
needs: [quay-build-push]
name: "Deploy to: prd"
runs-on: ubuntu-latest
steps:
- name: Trigger deployment
id: deploy
uses: decentraland/dcl-deploy-action@main
with:
dockerImage: "${{ needs.quay-build-push.outputs.registry-path }}"
serviceName: lods-generator
env: prd
token: ${{ secrets.GITHUB_TOKEN }}
30 changes: 0 additions & 30 deletions .github/workflows/publish-docker.yml

This file was deleted.

0 comments on commit 8b4be58

Please sign in to comment.