Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Release Engineering
Public
srpmproc
Commits
12fab6e7
Commit
12fab6e7
authored
Dec 17, 2020
by
Mustafa Gezen
🏗
Committed by
GitHub
Dec 17, 2020
Browse files
Create oci.yml
parent
e55e442a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/oci.yml
0 → 100644
View file @
12fab6e7
name
:
OCI
on
:
release
:
types
:
[
created
]
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Login to Docker Hub
run
:
docker login --username mstg --pasword ${{secrets.DOCKER_SECRET}}
-
name
:
Get the version
run
:
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
-
name
:
Build the Docker image
run
:
docker build . -t docker.io/mstg/srpmproc:${SOURCE_TAG}
-
name
:
Push to Docker Hub
run
:
docker push docker.io/mstg/srpmproc:${SOURCE_TAG}
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