Skip to content

Commit

Permalink
Release v1.23.1 (#670)
Browse files Browse the repository at this point in the history
## Release v1.23.1

### 🔁 CI

* ****deploy-to-production****: deployment to production is triggered on
tag creation
  • Loading branch information
antoinezanardi committed Nov 27, 2023
2 parents 4555fcd + f48966b commit 6557f9f
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
name: 🛰️ Deploy To Production Workflow
name: 🚀 Deploy To Production Workflow

on:
release:
types: [created]

jobs:
upload-to-docker-hub:
name: Upload image with tag version to Docker Hub 🐳
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub repository 📡
uses: actions/checkout@v4

- name: Log in to Docker Hub 🔐
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

- name: Build and push Docker image 🐳
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: antoinezanardi/werewolves-assistant-api:${{ github.event.release.tag_name }}

deploy:
name: Deploy to production 🛰️
name: Deploy to production 🚀
runs-on: ubuntu-latest
steps:
- name: Setup GitHub repository 🔧
Expand Down

0 comments on commit 6557f9f

Please sign in to comment.