Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amundsen_dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Surendar Reddy Mangannagari
amundsen_dev
Commits
6355e812
Unverified
Commit
6355e812
authored
Sep 02, 2020
by
Tao Feng
Committed by
GitHub
Sep 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix docker push in FE repo (#637)
Signed-off-by:
Tao Feng
<
fengtao04@gmail.com
>
parent
5068b3e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
pypipublish.yml
.github/workflows/pypipublish.yml
+5
-2
Makefile
Makefile
+12
-3
No files found.
.github/workflows/pypipublish.yml
View file @
6355e812
...
...
@@ -35,6 +35,9 @@ jobs:
uses
:
actions/checkout@v2
-
name
:
Login with docker
run
:
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
-
name
:
Publish to Registry
-
name
:
Publish to Registry
for latest
if
:
success()
run
:
make build-push-image
run
:
make build-push-image-latest
-
name
:
Publish to Registry for version
if
:
startsWith(github.event.ref, 'refs/tags')
run
:
make build-push-image-version
Makefile
View file @
6355e812
...
...
@@ -25,12 +25,18 @@ test: test_unit lint mypy
.PHONY
:
image
image
:
docker build
-f
public.Dockerfile
-t
${
IMAGE
}
:latest .
.PHONY
:
image-version
image-version
:
docker build
-f
public.Dockerfile
-t
${
IMAGE
}
:
${
VERSION
}
.
docker tag
${
IMAGE
}
:
${
VERSION
}
${
IMAGE
}
:latest
.PHONY
:
push-image-version
push-image-version
:
docker push
${
IMAGE
}
:
${
VERSION
}
.PHONY
:
push-image
push-image
:
docker push
${
IMAGE
}
:
${
VERSION
}
docker push
${
IMAGE
}
:latest
.PHONY
:
oidc-image
...
...
@@ -43,5 +49,8 @@ push-oidc-image:
docker push
${
OIDC_IMAGE
}
:
${
VERSION
}
docker push
${
OIDC_IMAGE
}
:latest
.PHONY
:
build-push-image
build-push-image
:
image oidc-image push-image push-oidc-image
build-push-image-latest
:
image oidc-image push-image push-oidc-image
build-push-image-version
:
image-version push-image-version
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment