Skip to content

Commit

Permalink
Merge branch 'main' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Jul 10, 2024
2 parents a4b9a8c + 074cbcb commit 4dc23f7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches:
- main
- devel

jobs:

Expand All @@ -20,5 +22,9 @@ jobs:
- name: Build the Docker image
run: |
GHCR_IMAGE=ghcr.io/grycap/oscar-metrics
docker build . --file Dockerfile --output "type=image,push=true" --tag ${GHCR_IMAGE}:latest
if [[ $GITHUB_REF == refs/heads/devel ]]; then
TAG="${GHCR_IMAGE}:devel"
else
TAG="${GHCR_IMAGE}:latest"
fi
docker build . --file Dockerfile --output "type=image,push=true" --tag ${TAG}

0 comments on commit 4dc23f7

Please sign in to comment.