From fa2d0a34fe5ebb9af093eef0951b2101e5379541 Mon Sep 17 00:00:00 2001 From: Diego Pascual <diegopf@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:50:28 +0100 Subject: [PATCH] build: publish docker image on push to main (#474) --- .github/workflows/deploy-docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index a28f46a6..7e42075c 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -1,9 +1,9 @@ name: Create and publish a Docker image -# Configures this workflow to run every time a change is pushed to the branch called `release`. +# Configures this workflow to run every time a change is pushed to the `main` branch. on: push: - branches: ['feat/EMP-3684-create-docker-image'] + branches: ['main'] # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. + # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - uses: actions/setup-node@v4 with: node-version: '18'