diff options
author | Alex Shnitman <alexta69@gmail.com> | 2022-02-18 18:48:26 +0200 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2022-02-18 19:02:21 +0200 |
commit | 6ce180aadfdb93f1cffe9b04c9b1def600f762e7 (patch) | |
tree | 41598e7f8e17fff625ecc75763dbd09296ae8f1d /.github/workflows | |
parent | Merge pull request #120 from almeidapaulopt/master (closes #107, closes #112) (diff) | |
download | metube-6ce180aadfdb93f1cffe9b04c9b1def600f762e7.tar.gz metube-6ce180aadfdb93f1cffe9b04c9b1def600f762e7.tar.bz2 metube-6ce180aadfdb93f1cffe9b04c9b1def600f762e7.zip |
upgrade dependencies; save old docker images
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7eb0b72..3f7af43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - + name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + - name: Checkout uses: actions/checkout@v2 - @@ -31,7 +35,9 @@ jobs: context: . platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true - tags: ${{ secrets.DOCKERHUB_REPOSITORY }}:latest + tags: | + ${{ secrets.DOCKERHUB_REPOSITORY }}:latest + ${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.date.outputs.date }} dockerhub-sync-readme: needs: dockerhub-build-push |