From 70878ad974da7fd7e2712a317b1510c7c981a98c Mon Sep 17 00:00:00 2001 From: Etienne Donneger Date: Mon, 6 May 2024 16:08:41 -0400 Subject: [PATCH] Revert "Change generated dev tag to include timestamp (#21)" (#23) This reverts commit 697aa7899a7df11249bed100ff60cb1f96b8d770. --- .github/workflows/ghcr.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index acc41e2..ba7b392 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -20,10 +20,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - - name: Get timestamp - id: timestamp - run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV - name: Log in to the Container registry uses: docker/login-action@v3 @@ -39,7 +35,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=sha,prefix= - type=raw,enable=${{ !startsWith(github.ref, 'refs/tags/') }},value=dev-${{ env.TIMESTAMP }} + type=raw,enable=${{ !startsWith(github.ref, 'refs/tags/') }},value=develop type=semver,pattern={{raw}} - name: Build and push Docker image @@ -48,4 +44,4 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file