Skip to content

Commit

Permalink
Updated docker publish to be on release.
Browse files Browse the repository at this point in the history
  • Loading branch information
JMaynor committed Aug 21, 2024
1 parent d2443b4 commit df53138
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autodeploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Docker Hub Deployment
on:
push:
branches:
- 'main'
release:
types: [published]

jobs:
push_to_registry:
runs-on: ubuntu-latest
Expand All @@ -25,4 +25,4 @@ jobs:
push: true
tags: exaltatus/dolores:latest
- name: Logout from Docker Hub
run: docker logout
run: docker logout
6 changes: 3 additions & 3 deletions .github/workflows/ghcr-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish to GHCR
on:
push:
branches:
- main
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit df53138

Please sign in to comment.