Skip to content

Commit

Permalink
run workflow on docker-ci branch
Browse files Browse the repository at this point in the history
  • Loading branch information
marnym committed Apr 22, 2024
1 parent f1c3733 commit 2c07e20
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker Image CI

on:
push:
branches: [ "develop" ]
branches: ["develop", "docker-ci"]
pull_request:
branches: [ "develop" ]
branches: ["develop"]

env:
REGISTRY: ghcr.io
Expand All @@ -18,17 +18,17 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }

- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ env.registry }}/${{ env.IMAGE_NAME }}:test
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ env.registry }}/${{ env.IMAGE_NAME }}:test

- name: Push the Docker image
run: docker push ${{ env.registry }}/${{ env.IMAGE_NAME }}:test
- name: Push the Docker image
run: docker push ${{ env.registry }}/${{ env.IMAGE_NAME }}:test

0 comments on commit 2c07e20

Please sign in to comment.