Skip to content

Commit

Permalink
fix(workflows): fix push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Apr 23, 2024
1 parent 9570cc0 commit b7c4137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 57 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/deployment.yml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Build and deploy staging
name: Deployment workflow

on:
push:
branches:
- staging

env:
DEPLOYMENT: ticket-office
DEPLOYMENT_NAMESPACE: ticket-office
Expand Down Expand Up @@ -38,11 +37,11 @@ jobs:
run: |
IMAGE_ID=ghcr.io/dataesr/ticket-office
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
docker push $IMAGE_ID:${{ steps.version.outputs.tag }}
docker push $IMAGE_ID:staging
notify:
name: 📢 Notify in mattermost channel
needs: deploy
needs: publish-ghcr
if: always()
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b7c4137

Please sign in to comment.