Skip to content

Commit

Permalink
feat: additional label
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed May 11, 2024
1 parent 6e60dbe commit cb61bd5
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .github/workflows/publish-extra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set ENV vars
run: |
TAG=$(git describe --tags --always `git rev-list --tags --max-count=1`)
echo "IMAGE_TAG"=$TAG >> $GITHUB_ENV
# - name: Login to Github Container Registry
# uses: docker/login-action@v3
# with:
Expand Down Expand Up @@ -44,6 +49,7 @@ jobs:
push: false
tags: |
ghcr.io/trustbloc/mock-webhook:latest
ghcr.io/trustbloc/mock-webhook:${{ env.IMAGE_TAG }}-latest
mock-login-consent:
runs-on: ubuntu-latest
timeout-minutes: 45
Expand All @@ -52,6 +58,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set ENV vars
run: |
TAG=$(git describe --tags --always `git rev-list --tags --max-count=1`)
echo "IMAGE_TAG"=$TAG >> $GITHUB_ENV
# - name: Login to Github Container Registry
# uses: docker/login-action@v3
# with:
Expand All @@ -73,6 +84,8 @@ jobs:
push: false
tags: |
ghcr.io/trustbloc/mock-login-consent:latest
ghcr.io/trustbloc/mock-login-consent:${{ env.IMAGE_TAG }}-latest
mock-trustregistry:
runs-on: ubuntu-latest
timeout-minutes: 45
Expand All @@ -81,6 +94,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set ENV vars
run: |
TAG=$(git describe --tags --always `git rev-list --tags --max-count=1`)
echo "IMAGE_TAG"=$TAG >> $GITHUB_ENV
# - name: Login to Github Container Registry
# uses: docker/login-action@v3
# with:
Expand All @@ -101,7 +119,8 @@ jobs:
ALPINE_IMAGE=alpine
push: false
tags: |
ghcr.io/trustbloc/mock-trustregistry-docker:latest
ghcr.io/trustbloc/mock-trustregistry:latest
ghcr.io/trustbloc/mock-trustregistry:${{ env.IMAGE_TAG }}-latest
mock-attestation:
runs-on: ubuntu-latest
timeout-minutes: 45
Expand All @@ -110,6 +129,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set ENV vars
run: |
TAG=$(git describe --tags --always `git rev-list --tags --max-count=1`)
echo "IMAGE_TAG"=$TAG >> $GITHUB_ENV
# - name: Login to Github Container Registry
# uses: docker/login-action@v3
# with:
Expand All @@ -131,6 +155,7 @@ jobs:
push: false
tags: |
ghcr.io/trustbloc/mock-attestation:latest
ghcr.io/trustbloc/mock-attestation:${{ env.IMAGE_TAG }}-latest
mock-cognito-auth:
runs-on: ubuntu-latest
Expand All @@ -140,6 +165,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set ENV vars
run: |
TAG=$(git describe --tags --always `git rev-list --tags --max-count=1`)
echo "IMAGE_TAG"=$TAG >> $GITHUB_ENV
- name: Setup Go 1.21
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -167,4 +197,5 @@ jobs:
ALPINE_IMAGE=alpine
push: false
tags: |
ghcr.io/trustbloc/mock-cognito-auth:latest
ghcr.io/trustbloc/mock-cognito-auth:latest
ghcr.io/trustbloc/mock-cognito-auth:${{ env.IMAGE_TAG }}-latest

0 comments on commit cb61bd5

Please sign in to comment.