mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Update oci.yml
This commit is contained in:
parent
0a7c207dea
commit
70a1ef3acc
6
.github/workflows/oci.yml
vendored
6
.github/workflows/oci.yml
vendored
@ -11,9 +11,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
run: docker login --username mstg --password ${{secrets.DOCKER_SECRET}}
|
run: docker login --username mstg --password ${{secrets.DOCKER_SECRET}}
|
||||||
- name: Get the version
|
|
||||||
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
|
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . -t docker.io/mstg/srpmproc:${SOURCE_TAG}
|
run: docker build . -t docker.io/mstg/srpmproc:${GITHUB_REF#refs/tags/}
|
||||||
- name: Push to Docker Hub
|
- name: Push to Docker Hub
|
||||||
run: docker push docker.io/mstg/srpmproc:${SOURCE_TAG}
|
run: docker push docker.io/mstg/srpmproc:${GITHUB_REF#refs/tags/}
|
||||||
|
Loading…
Reference in New Issue
Block a user