From 6ce180aadfdb93f1cffe9b04c9b1def600f762e7 Mon Sep 17 00:00:00 2001 From: Alex Shnitman Date: Fri, 18 Feb 2022 18:48:26 +0200 Subject: upgrade dependencies; save old docker images --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.github') 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 @@ -9,6 +9,10 @@ jobs: dockerhub-build-push: 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 -- cgit