From a1a0c0c29732486cd0231419b90b357c9582d367 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 8 Aug 2020 13:36:46 +0200 Subject: [PATCH] Adds automated Docker image release GitHub action --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..3c8f63c6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: release +on: + release: + types: [published] +jobs: + push_server_to_docker_registry: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + repository: oxigraph/oxigraph + tag_with_ref: true + push_wikibase_to_docker_registry: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + repository: oxigraph/oxigraph-wikibase + tag_with_ref: true