Skip to content

Commit

Permalink
Revert "Change generated dev tag to include timestamp (#21)"
Browse files Browse the repository at this point in the history
This reverts commit 697aa78.
  • Loading branch information
0237h committed May 6, 2024
1 parent 5a21d12 commit 203335e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -48,4 +44,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 203335e

Please sign in to comment.