We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ae20f commit 13ea129Copy full SHA for 13ea129
.circleci/config.yml
@@ -5,7 +5,7 @@ orbs:
5
jobs:
6
publish:
7
docker:
8
- - image: oryd/sdk:v0.0.54
+ - image: oryd/sdk:latest
9
working_directory: /sdk
10
steps:
11
- checkout
.github/workflows/docker-publish.yml
@@ -9,10 +9,16 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2
12
+ - name: Extract version
13
+ id: get_version
14
+ run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
15
- name: Push to Docker Hub
16
uses: docker/build-push-action@v1
17
with:
18
username: ${{ secrets.DOCKER_USERNAME }}
19
password: ${{ secrets.DOCKER_SECRET_AREKKAS }}
20
repository: oryd/sdk
- tag_with_ref: true
21
+ push: true
22
+ tags: |
23
+ oryd/sdk:${{ env.VERSION }}
24
+ oryd/sdk:latest
0 commit comments