Commit 12fab6e7 authored by Mustafa Gezen's avatar Mustafa Gezen 🏗 Committed by GitHub
Browse files

Create oci.yml

parent e55e442a
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}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment