Commit 70a1ef3a authored by Mustafa Gezen's avatar Mustafa Gezen 🏗 Committed by GitHub
Browse files

Update oci.yml

parent 0a7c207d
......@@ -11,9 +11,7 @@ jobs:
- uses: actions/checkout@v2
- name: Login to Docker Hub
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
run: docker build . -t${SOURCE_TAG}
run: docker build . -t${GITHUB_REF#refs/tags/}
- name: Push to Docker Hub
run: docker push${SOURCE_TAG}
run: docker push${GITHUB_REF#refs/tags/}
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