Skip to content

Commit

Permalink
Merge branch 'feature/improve-container-build'
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyates committed Nov 3, 2023
2 parents 506edfa + 27de987 commit cd30344
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and publish the production container image to the GitHub Registry
# Run this workflow every time on every push to the branch `release`.
on:
push:
branches: ['release']
branches: ['feature/improve-container-build']

env:
IMAGE_NAME: imap-backup
Expand Down Expand Up @@ -36,6 +36,10 @@ jobs:
labels: |
${{ env.IMAGE_NAME }}:latest
# Check that imap-backup runs
- name: Test Image
run: podman run ${{ env.IMAGE_NAME }}:latest imap-backup help | grep 'Commands:'

- name: Publish Image
# https://github.com/marketplace/actions/push-to-registry
id: push-to-registry
Expand Down

0 comments on commit cd30344

Please sign in to comment.