Skip to content

Commit

Permalink
Update build files
Browse files Browse the repository at this point in the history
  • Loading branch information
BigThunderSR committed Mar 31, 2023
1 parent 6a978d5 commit 9227f08
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v4
with:
images: bigthundersr/onstar2mqtt, ghcr.io/bigthundersr/onstar2mqtt
images: |
bigthundersr/onstar2mqtt
ghcr.io/bigthundersr/onstar2mqtt
flavor: |
latest=true
tags: |
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v4
with:
images: bigthundersr/onstar2mqtt
images: |
bigthundersr/onstar2mqtt
ghcr.io/bigthundersr/onstar2mqtt
flavor: |
latest=true
tags: |
Expand All @@ -33,6 +35,14 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to the Container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push to DockerHub
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 9227f08

Please sign in to comment.