diff --git a/.github/workflows/repository-mirror.yaml b/.github/workflows/repository-mirror.yaml index fe62d77..b5e8fa6 100644 --- a/.github/workflows/repository-mirror.yaml +++ b/.github/workflows/repository-mirror.yaml @@ -18,6 +18,16 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 + - name: Generate container metadata + id: meta + uses: docker/metadata-action@v3 + with: + images: ghcr.io/obmondo/dockerfiles/repository-mirror + tags: | + type=semver,pattern={{version}},value=v1.27.0 + flavor: | + latest=false + - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: @@ -32,4 +42,4 @@ jobs: context: ./repository-mirror labels: ${{ steps.meta.outputs.labels }} push: true - tags: 1.27.0 + tags: ${{ steps.meta.outputs.tags }}