Skip to content

Commit

Permalink
Update update_datasets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung authored Oct 31, 2023
1 parent ce2acf8 commit 2188b87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/update_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ jobs:
- name: pull repo
uses: actions/checkout@v3


- name: Get current date
id: date
run: |
date=$(date '+%Y-%m-%d')
echo "the date is $date"
echo "date=$date" >> $GITHUB_OUTPUT
- name: check paths
run: ls && ls ./datasets

Expand All @@ -51,7 +58,7 @@ jobs:
file: ./datasets/Dockerfile
build-args: DATASETS_VER=${{ steps.strip.outputs.version }}
push: true
tags: quay.io/uphl/datasets:${{ steps.strip.outputs.version }}
tags: quay.io/uphl/datasets:${{ steps.strip.outputs.version }}-${{ steps.date.outputs.date }}

- name: Build and push latest tag to Quay
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 2188b87

Please sign in to comment.