Skip to content

Commit 5a3ca1e

Browse files
committed
Testing docker hub ci
1 parent 69b6109 commit 5a3ca1e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22
on:
3-
pull_request:
3+
# pull_request:
44
push:
55
branches:
66
- main

.github/workflows/docker-hub.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Docker Hub
33
# Currently, we publish every commit to main into Docker hub.
44
# In the future, we may to trigger off of actual release tags.
55
on:
6+
pull_request:
67
push:
78
branches:
89
- main
@@ -12,21 +13,25 @@ jobs:
1213
name: Build and push image
1314
runs-on: ubuntu-latest
1415
steps:
16+
- uses: actions/checkout@v4
17+
1518
- name: Set up Docker Buildx
1619
uses: docker/setup-buildx-action@v3
1720

1821
- name: Grab version
19-
run: echo "ETL_VERSION=$(grep __version__ cumulus_etl/__init__.py | cut -d'"' -f2)" >> $GITHUB_ENV
22+
run: |
23+
ls
24+
echo "ETL_VERSION=$(grep __version__ cumulus_etl/__init__.py | cut -d'"' -f2)" >> $GITHUB_ENV
2025
2126
- name: Get Docker metadata
2227
id: meta
2328
uses: docker/metadata-action@v5
2429
with:
25-
flavor: latest=true
30+
flavor: latest=false # MIKE
2631
images: smartonfhir/cumulus-etl
2732
tags: |
2833
type=ref,event=branch
29-
type=pep440,pattern={{major}},value=${{ ETL_VERSION }}
34+
type=pep440,pattern={{major}},value=${{ env.ETL_VERSION }}
3035
3136
- name: Log in to Docker Hub
3237
uses: docker/login-action@v3

0 commit comments

Comments
 (0)