chg: ignore convered and reference output. #15
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: container | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: get version | |
| id: version | |
| run: echo ::set-output name=APP_VERSION::${GITHUB_REF/refs\/tags\//} | |
| - name: init docker build | |
| uses: docker/setup-buildx-action@v2 | |
| - name: login docker | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: publish container | |
| uses: docker/build-push-action@v4 | |
| with: | |
| push: true | |
| tags: | | |
| ghcr.io/weblyzard/inscriptis:v${{ steps.version.outputs.APP_VERSION }} | |
| ghcr.io/weblyzard/inscriptis:latest |