diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1facdb9..7230829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,14 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: docker/metadata-action@v4 + id: meta + with: + images: | + ${{ github.repository }} + ghcr.io/${{ github.repository }} + tags: latest + - name: "Login to Docker Hub" if: github.event_name != 'pull_request' || github.event.inputs.push == 'true' uses: docker/login-action@v3 @@ -55,6 +63,14 @@ jobs: with: context: . push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }} - tags: | - ${{ github.repository }} - ghcr.io/${{ github.repository }} + tags: ${{ steps.meta.outputs.tags }} + + lint: + runs-on: ubuntu-latest + container: node:22 + + steps: + - uses: actions/checkout@v4 + + - run: yarn install + - run: yarn lint