Skip to content

Commit

Permalink
Merge pull request #1 from gunet/gunet-workflows
Browse files Browse the repository at this point in the history
Gunet workflows
  • Loading branch information
kkmanos authored Jun 3, 2024
2 parents a42125b + a6501da commit e9dc729
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches-ignore:
- master # Covered by docker-push.yml
- dc4eu-rome
pull_request:

jobs:
Expand All @@ -14,7 +15,9 @@ jobs:
contents: read # To check out repo
packages: read # To read NPM registry

uses: wwwallet/wallet-ecosystem/.github/workflows/docker-build-push.yml@master
uses: gunet/wallet-ecosystem/.github/workflows/docker-build-push.yml@dc4eu-rome
secrets: inherit
with:
image-tag: ghcr.io/wwwallet/wallet-backend:latest
image-tag: ghcr.io/gunet/wallet-backend-server:latest
docker-push: false
dockerfile-path: ./Dockerfile
17 changes: 10 additions & 7 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Build and push Docker image

name: Push Docker image
on:
push:
branches:
- master
tags:
- v0.*
- v1.*
- v2.*

jobs:
build:

# Permissions for GITHUB_TOKEN
permissions:
contents: read # To check out repo
packages: write # To read NPM registry and push Docker image
packages: write # To read NPM registry

uses: wwwallet/wallet-ecosystem/.github/workflows/docker-build-push.yml@master
uses: gunet/wallet-ecosystem/.github/workflows/docker-build-push.yml@dc4eu-rome
secrets: inherit
with:
image-tag: ghcr.io/wwwallet/wallet-backend:latest
image-tag: ghcr.io/gunet/wallet-backend-server:${{ github.ref_name }}
docker-push: true
dockerfile-path: ./Dockerfile

0 comments on commit e9dc729

Please sign in to comment.