File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1414 - name : Checkout
1515 uses : actions/checkout@v4
1616
17+ - name : Get sbx version
18+ shell : bash
19+ run : |
20+ SBX_VER=$(cat VERSION)
21+ echo "SBX_VER=$SBX_VER" >> $GITHUB_ENV
22+
1723 - name : Log in to Docker Hub
1824 uses : docker/login-action@v3
1925 with :
3238 context : .
3339 file : envs/cenote_taker_env.Dockerfile
3440 push : true
35- tags : ${{ steps.meta.outputs.tags }}-cenote-taker
41+ tags : ${{ env.SBX_VER }}-cenote-taker
3642 labels : ${{ steps.meta.outputs.labels }}
3743
3844 - name : Build and push Docker image for sbx_virus_id
4147 context : .
4248 file : envs/sbx_virus_id.Dockerfile
4349 push : true
44- tags : ${{ steps.meta.outputs.tags }}-sbx-virus-id
50+ tags : ${{ env.SBX_VER }}-sbx-virus-id
4551 labels : ${{ steps.meta.outputs.labels }}
4652
4753 - name : Build and push Docker image for spades
5056 context : .
5157 file : envs/spades_env.Dockerfile
5258 push : true
53- tags : ${{ steps.meta.outputs.tags }}-spades
59+ tags : ${{ env.SBX_VER }}-spades
5460 labels : ${{ steps.meta.outputs.labels }}
5561
5662 - name : Build and push Docker image for virsorter
5965 context : .
6066 file : envs/virsorter_env.Dockerfile
6167 push : true
62- tags : ${{ steps.meta.outputs.tags }}-virsorter
68+ tags : ${{ env.SBX_VER }}-virsorter
6369 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7- push :
8- branches :
9- - main
107
118jobs :
129 run-tests :
Original file line number Diff line number Diff line change 22
33# sbx_virus_id
44
5-
5+ <!-- badges: start -->
6+ [ ![ Tests] ( https://github.com/sunbeam-labs/sbx_virus_id/actions/workflows/tests.yml/badge.svg )] ( https://github.com/sunbeam-labs/sbx_virus_id/actions/workflows/tests.yml )
7+ [ ![ DockerHub] ( https://img.shields.io/docker/pulls/sunbeamlabs/sbx_virus_id )] ( https://hub.docker.com/repository/docker/sunbeamlabs/sbx_virus_id/ )
8+ <!-- badges: end -->
69
710## Introduction
811
You can’t perform that action at this time.
0 commit comments