This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Omnia v1.13.0
- Loading branch information
Showing
17 changed files
with
117 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
types: | ||
- completed | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
|
@@ -20,7 +20,10 @@ jobs: | |
platforms: all | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
uses: docker/setup-buildx-action@v2 | ||
id: buildx | ||
with: | ||
install: true | ||
|
||
- name: Login to Github Packages | ||
uses: docker/login-action@v1 | ||
|
@@ -31,16 +34,18 @@ jobs: | |
# | ||
- name: Build and Publish Deployer Image to Github Packages | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} # Only if tests passed | ||
uses: docker/build-push-action@v2.7.0 | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./docker/deployer/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: ${{ github.event_name != 'pull_request' }} # Build only on push to master | ||
tags: ghcr.io/chronicleprotocol/deployer:latest,ghcr.io/chronicleprotocol/deployer:dev | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
||
# - name: Build and Publish SSB Server Image to Github Packages | ||
# uses: docker/build-push-action@v2.7.0 | ||
# uses: docker/build-push-action@v3 | ||
# with: | ||
# context: . | ||
# file: ./docker/ssb-server/Dockerfile | ||
|
@@ -50,10 +55,12 @@ jobs: | |
|
||
- name: Build and Publish Omnia DEV Image to Github Packages | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} # Only if tests passed | ||
uses: docker/build-push-action@v2.7.0 | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: ${{ github.event_name != 'pull_request' }} # Build only on push to master | ||
tags: ghcr.io/chronicleprotocol/omnia:dev | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
name: Push Production Docker Images | ||
name: Build & Push Production Docker Images | ||
on: | ||
workflow_dispatch: # Allow manual trigger | ||
push: # Build & release on tags | ||
tags: | ||
- 'v*' | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
build: | ||
|
@@ -38,7 +42,10 @@ jobs: | |
platforms: all | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
uses: docker/setup-buildx-action@v2 | ||
id: buildx | ||
with: | ||
install: true | ||
|
||
- name: Login to Github Packages | ||
uses: docker/login-action@v1 | ||
|
@@ -48,21 +55,25 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and Publish SSB Server Image to Github Packages | ||
uses: docker/build-push-action@v2.7.0 | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./docker/ssb-server/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: ${{ steps.metassb.outputs.tags }} | ||
labels: ${{ steps.metassb.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
||
- name: Build and Publish Omnia Image to Github Packages | ||
uses: docker/build-push-action@v2.7.0 | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.