Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ihippik committed Apr 28, 2024
1 parent 3631415 commit 9e3c084
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publish Docker image

on:
release:
types: [published]
on: push

#on:
# release:
# types: [published]

jobs:
push_to_registry:
Expand All @@ -12,8 +14,14 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -25,7 +33,7 @@ jobs:
images: ihippik/wal-listener

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit 9e3c084

Please sign in to comment.