mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Added push to docker hub
This commit is contained in:
11
.github/workflows/build-images.yml
vendored
11
.github/workflows/build-images.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
- name: Build GitHub Container Registry
|
||||
uses: ./.github/actions/build-images
|
||||
with:
|
||||
registry: "ghcr.io"
|
||||
@@ -20,3 +20,12 @@ jobs:
|
||||
password: "${{ secrets.REGISTRY_PASSWORD }}"
|
||||
version: "${{ github.ref }}"
|
||||
push: "true"
|
||||
|
||||
- name: Build Docker Hub
|
||||
uses: ./.github/actions/build-images
|
||||
with:
|
||||
repository: "${{ github.repository }}"
|
||||
username: "${{ secrets.DOCKERHUB_USERNAME }}"
|
||||
password: "${{ secrets.DOCKERHUB_PASSWORD }}"
|
||||
version: "${{ github.ref }}"
|
||||
push: "true"
|
||||
|
||||
Reference in New Issue
Block a user