Skip to content

Commit

Permalink
Delete docker/metadata-action@v3 step
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahsa committed Jan 21, 2024
1 parent a3fa22d commit eee75fe
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,10 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v3
id: meta
with:
images: ghcr.io/${{ github.repository }}/${{ matrix.dir }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v2
with:
file: "${{ matrix.dir }}/Dockerfile"
context: .
context: ${{ matrix.dir }}
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/${{ github.repository }}/${{ matrix.dir }}:${{ github.sha }}

0 comments on commit eee75fe

Please sign in to comment.