chore: update Caddy version to 2.11.4 in Dockerfile #60
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: deploy | |
| on: | |
| push: | |
| tags: ["v*.*.*-*"] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Extract mw Docker Metadata | |
| id: mw_meta | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: | | |
| ghcr.io/mooncellwiki/mw | |
| tags: | | |
| type=semver,pattern={{raw}} | |
| type=sha | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: .github/workflows/mw.Dockerfile | |
| push: true | |
| tags: ${{ steps.mw_meta.outputs.tags }} | |
| labels: ${{ steps.mw_meta.outputs.labels }} | |
| - name: Extract Caddy Docker Metadata | |
| id: caddy_meta | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: | | |
| ghcr.io/mooncellwiki/caddy | |
| tags: | | |
| type=semver,pattern={{raw}} | |
| type=sha | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: .github/workflows/caddy.Dockerfile | |
| push: true | |
| tags: ${{ steps.caddy_meta.outputs.tags }} | |
| labels: ${{ steps.caddy_meta.outputs.labels }} | |
| build-args: VERSION=${{ github.ref_name }} |