From 3c2a14077bac228457b3fe0c10b9e6a4b3d9e428 Mon Sep 17 00:00:00 2001 From: Emillio Mariscal Date: Mon, 23 Oct 2023 15:22:29 -0400 Subject: [PATCH] Test publish Docker image GitHub action --- .../workflows/{dockerfile.yml => docker_image.yml} | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) rename .github/workflows/{dockerfile.yml => docker_image.yml} (83%) diff --git a/.github/workflows/dockerfile.yml b/.github/workflows/docker_image.yml similarity index 83% rename from .github/workflows/dockerfile.yml rename to .github/workflows/docker_image.yml index 6f8d39ae..7a0e90ce 100644 --- a/.github/workflows/dockerfile.yml +++ b/.github/workflows/docker_image.yml @@ -1,15 +1,12 @@ -# The docker image will be built only on a push to the feature branch - name: Deps Dockerfile Build and Push on: push: - branches: [ update/docker-ci ] - -# A workflow run is made up of one or more jobs that can run -# sequentially or in parallel + branches: + - master +permissions: + contents: write jobs: - build: # The type of runner that the job will run on runs-on: ubuntu:latest @@ -37,5 +34,3 @@ jobs: # be pushed. Otherwise nothing will happen. - name: Push to Quay.io run: docker push quay.io/hotosm/underpass-build-deps - -