Skip to content

Commit

Permalink
build: publish docker image on push to main (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf authored Mar 27, 2024
1 parent ae38b2d commit fa2d0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit fa2d0a3

Please sign in to comment.