From 693f6d102784ac577846cdf7d22727ae297ecc0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 16 Jan 2021 09:10:57 +0100 Subject: [PATCH] Bump docker/build-push-action from v1 to v2.2.2 (#73) * Bump docker/build-push-action from v1 to v2.2.2 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1 to v2.2.2. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v1...4a531fa5a603bab87dfa56578bd82b28508c9547) Signed-off-by: dependabot[bot] Co-authored-by: Thomas Tanon --- .github/workflows/release.yml | 42 ++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa091eb2..b4da9fd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,28 +9,44 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: docker/build-push-action@v1 + - uses: crazy-max/ghaction-docker-meta@v1 + id: docker_meta + with: + images: oxigraph/oxigraph + - uses: docker/setup-buildx-action@v1 + - uses: docker/login-action@v1 with: - dockerfile: server/Dockerfile username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - repository: oxigraph/oxigraph - tag_with_ref: true - tags: latest - add_git_labels: true + - uses: docker/build-push-action@v2 + with: + context: . + file: server/Dockerfile + pull: true + push: true + tags: ${{ steps.docker_meta.outputs.tags }} + labels: ${{ steps.docker_meta.outputs.labels }} push_wikibase_to_docker_registry: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: docker/build-push-action@v1 + - uses: crazy-max/ghaction-docker-meta@v1 + id: docker_meta + with: + images: oxigraph/oxigraph-wikibase + - uses: docker/setup-buildx-action@v1 + - uses: docker/login-action@v1 with: - dockerfile: wikibase/Dockerfile username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - repository: oxigraph/oxigraph-wikibase - tag_with_ref: true - tags: latest - add_git_labels: true + - uses: docker/build-push-action@v2 + with: + context: . + file: wikibase/Dockerfile + pull: true + push: true + tags: ${{ steps.docker_meta.outputs.tags }} + labels: ${{ steps.docker_meta.outputs.labels }} publish_lib_crate: runs-on: ubuntu-latest steps: @@ -143,4 +159,4 @@ jobs: git add . git diff-index --quiet HEAD || git commit -m "Updates pyoxigraph documentation" git push - working-directory: ./website \ No newline at end of file + working-directory: ./website