We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab6caa3 + fdb57ae commit 0619163Copy full SHA for 0619163
.github/workflows/docker-hub.yaml
@@ -12,15 +12,23 @@ jobs:
12
name: Build and push image
13
runs-on: ubuntu-latest
14
steps:
15
+ - uses: actions/checkout@v4
16
+
17
- name: Set up Docker Buildx
18
uses: docker/setup-buildx-action@v3
19
20
+ - name: Grab version
21
+ run: echo "ETL_VERSION=$(grep __version__ cumulus_etl/__init__.py | cut -d'"' -f2)" >> $GITHUB_ENV
22
23
- name: Get Docker metadata
24
id: meta
25
uses: docker/metadata-action@v5
26
with:
27
flavor: latest=true
28
images: smartonfhir/cumulus-etl
29
+ tags: |
30
+ type=ref,event=branch
31
+ type=pep440,pattern={{major}},value=${{ env.ETL_VERSION }}
32
33
- name: Log in to Docker Hub
34
uses: docker/login-action@v3
0 commit comments