Skip to content

Commit

Permalink
.github/workflows/build-and-deploy.yml: build production image
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Aug 30, 2024
1 parent 5f3eb35 commit e47fc6a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Create image and Deploy

env:
IMAGE_TAG: loris:dev
IMAGE_TAG: loris:3.2.1

on:
workflow_dispatch: ~
Expand Down Expand Up @@ -35,11 +35,11 @@ jobs:
tags: |
acdhch/${{ env.IMAGE_TAG }}
ghcr.io/acdh-oeaw/${{ env.IMAGE_TAG }}
# rancher:
# needs: build_and_push_to_registry
# name: Deploy to rancher
# runs-on: ubuntu-latest
# steps:
# - name: Rancher Deploy Action
# run: |
# curl -i -X POST "${{ secrets.RANCHERURL }}?action=redeploy" -H "Authorization: Bearer ${{ secrets.RANCHER_BARER_TOKEN }}"
rancher:
needs: build_and_push_to_registry
name: Deploy to rancher
runs-on: ubuntu-latest
steps:
- name: Rancher Deploy Action
run: |
curl -i -X POST "${{ secrets.RANCHERURL }}?action=redeploy" -H "Authorization: Bearer ${{ secrets.RANCHER_BARER_TOKEN }}"

0 comments on commit e47fc6a

Please sign in to comment.