Skip to content

Commit

Permalink
Add action to update the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatthm committed Aug 25, 2022
1 parent 5b0a872 commit 4d24e7b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update-registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: 'update-registry'

on:
push:
tags:
- v*
workflow_dispatch:

env:
MODULE_NAME: testcontainers-registry

jobs:
notify:
runs-on: ubuntu-latest
strategy:
matrix:
registry: [ go.nhat.io, go-staging.nhat.io ]
steps:
- name: notify ${{ matrix.registry }}
uses: benc-uk/workflow-dispatch@v1
with:
workflow: build
repo: nhatthm/${{ matrix.registry }}
token: ${{ secrets.REGISTRY_TOKEN }}
inputs: '{"modules": "${{ env.MODULE_NAME }}"}'
ref: 'master'

0 comments on commit 4d24e7b

Please sign in to comment.