mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-12 10:22:14 +01:00
chore: edge Docker image now build & push after tests
This commit is contained in:
8
.github/workflows/continuous_delivery.yml
vendored
8
.github/workflows/continuous_delivery.yml
vendored
@@ -3,9 +3,6 @@ name: Continuous Delivery
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -24,11 +21,6 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push Docker image for release
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
make release GOTENBERG_VERSION=${{ github.event.release.tag_name }}
|
||||
make release GOTENBERG_VERSION=${{ github.event.release.tag_name }} DOCKER_REPOSITORY=thecodingmachine
|
||||
- name: Build and push Docker image for main branch
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
make release GOTENBERG_VERSION=edge
|
||||
|
||||
Reference in New Issue
Block a user