Skip to content

Commit

Permalink
chore(ci): update docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleeit committed Jun 22, 2021
1 parent 633b24c commit 0529a26
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: Docker image push

# Controls when the action will run.
on:
Expand All @@ -21,8 +21,11 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: jinahub/hubble-normalizer

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand All @@ -41,7 +44,8 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: jinahub/hubble-normalizer:$RELEASE_VERSION,jinahub/hubble-normalizer:latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 0529a26

Please sign in to comment.