Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #331 from DewGew/DewGew-patch-1
Browse files Browse the repository at this point in the history
Create publish_beta.yml
  • Loading branch information
DewGew authored Jun 8, 2023
2 parents 6e3c1d7 + afc2c7a commit 316fa2c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish_beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Docker Image Beta

on:
workflow_dispatch:
branches: [ "beta" ]
jobs:
publish-docker-image:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/${{secrets.DOCKER_USER}}/domoticz-google-assistant:beta
docker push ghcr.io/${{secrets.DOCKER_USER}}/domoticz-google-assistant:beta

0 comments on commit 316fa2c

Please sign in to comment.