Skip to content

Commit

Permalink
Fix image name and path
Browse files Browse the repository at this point in the history
name unknown: docker image push is only supported with a tag of the format :owner/:repo_name/:image_name.
Please add an image name to "salesforce/phoenix-mini" tag. e.g. "salesforce/phoenix-mini/<image_name>"
  • Loading branch information
berardino committed Jan 21, 2021
1 parent 36b0d75 commit 4ff0f4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:

env:
DOCKER_REGISTRY: docker.pkg.github.com
REPO_NAME: salesforce/phoenix-mini
DOCKER_PATH: salesforce/docker-phoenix-mini
IMAGE_NAME: phoenix-mini

jobs:
build:
Expand Down Expand Up @@ -36,6 +37,6 @@ jobs:
- name: Docker Push
if: github.ref == 'refs/heads/master'
run: |
REMOTE_IMAGE_ID=$DOCKER_REGISTRY/$REPO_NAME:latest
REMOTE_IMAGE_ID=$DOCKER_REGISTRY/$DOCKER_PATH/$IMAGE_NAME:latest
docker tag phoenix-mini:latest $REMOTE_IMAGE_ID
docker push $REMOTE_IMAGE_ID

0 comments on commit 4ff0f4b

Please sign in to comment.