Skip to content

Commit

Permalink
misc: Add release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenquin committed May 31, 2022
1 parent cc9b61f commit c1b9f7d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release
on:
repository_dispatch:
types: [release]
jobs:
build-image:
name: Build Image
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Log In to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action
with:
context: .
push: true
tags: getlago/front:${{ github.event.client_payload.version }}

0 comments on commit c1b9f7d

Please sign in to comment.