Skip to content

Commit

Permalink
Fix CI pipeline for pushing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Sorokoumov committed Oct 20, 2021
1 parent a5cd511 commit e83e467
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ilya40umov/kotlink
- name: Compute Tag Name
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Build & Push Image
Expand All @@ -81,4 +86,4 @@ jobs:
context: .
platforms: linux/amd64
push: true
tags: ilya40umov/kotlink:latest,ilya40umov/kotlink:${TAG}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit e83e467

Please sign in to comment.