Skip to content

Commit

Permalink
Publish CD
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelLyra8 committed May 22, 2023
1 parent f357484 commit 8eb9d0e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pressure Monitor CD

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout 🛎️
uses: actions/checkout@master

- name: Build Docker Compose 🏗️
run: docker-compose build

- name: Login to GitHub Container Registry 🔓
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PRES_MON }}

- name: Push Docker Compose 🪖
run: docker-compose push

0 comments on commit 8eb9d0e

Please sign in to comment.