-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github action support #24
Conversation
.github/workflows/docker.yml
Outdated
username: ${{ secrets.DOCKER_HUB_LOGIN }} | ||
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
|
||
- name: Build and push "master-latest" Docker images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using this image anywhere ? Else just compiling should be good enough ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will comment out the docker push part. can enable later.
.github/workflows/docker.yml
Outdated
|
||
- name: Build and push "master-latest" Docker images | ||
env: | ||
DOCKER_TAG: master-${{ env.GIT_SHA_SHORT } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we get branch tag in the GitHub action ? As such this is ok for now, but want to know if we can use destination branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we can add branch name in tag :
- name: Build
run: docker build -t udm/tag-example:${GITHUB_REF##*/} .
Currently we are running for master only. so didnt add branch name.
.github/workflows/pull_request.yml
Outdated
build: | ||
env: | ||
DOCKER_REGISTRY: "docker.io/" | ||
DOCKER_REPOSITORY: "badhrinathpa/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open item to check with ONF infra team ? @amolonf would you be able to get this work with omec-project
run: | | ||
git --no-pager diff | ||
|
||
# Build again and commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see only build and no commit... Did I miss anything ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch. will add the commit part.
Makefile
Outdated
@@ -1,6 +1,7 @@ | |||
# Copyright 2019 free5GC.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep... free5g copyright after SPDX header.
4477fab
to
e747355
Compare
e747355
to
be60da4
Compare
No description provided.