Skip to content

Commit

Permalink
fix: docker image obtained from github reponame
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Jun 5, 2024
1 parent 8182ba1 commit ce58b17
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/.docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,24 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
<<<<<<< HEAD
branches:
- "*"
=======
branches: "*"
>>>>>>> f2b6cb7 (fix: docker image obtained from github reponame)
tags:
- "*"
pull_request:

# 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:
REGISTRY: ghcr.io
<<<<<<< HEAD
IMAGE_NAME: in-for-disaster-analytics/cookbook-docker-template #change {Template}
=======
IMAGE_NAME: ${{ github.repository }}
>>>>>>> f2b6cb7 (fix: docker image obtained from github reponame)

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
Expand Down Expand Up @@ -59,5 +67,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max

0 comments on commit ce58b17

Please sign in to comment.