diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docker-image.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8945bfb..3f83351 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml | |||
| @@ -16,7 +16,7 @@ jobs: | |||
| 16 | uses: actions/checkout@v2 | 16 | uses: actions/checkout@v2 |
| 17 | - name: Docker meta | 17 | - name: Docker meta |
| 18 | id: meta | 18 | id: meta |
| 19 | uses: docker/metadata-action@v3 | 19 | uses: docker/metadata-action@v4 |
| 20 | with: | 20 | with: |
| 21 | images: ghcr.io/tomvanderlee/ttun-server | 21 | images: ghcr.io/tomvanderlee/ttun-server |
| 22 | tags: | | 22 | tags: | |
| @@ -31,9 +31,11 @@ jobs: | |||
| 31 | username: ${{ github.actor }} | 31 | username: ${{ github.actor }} |
| 32 | password: ${{ secrets.GITHUB_TOKEN }} | 32 | password: ${{ secrets.GITHUB_TOKEN }} |
| 33 | - name: Build and push | 33 | - name: Build and push |
| 34 | uses: docker/build-push-action@v2 | 34 | uses: docker/build-push-action@v4 |
| 35 | with: | 35 | with: |
| 36 | context: . | 36 | context: . |
| 37 | push: ${{ github.event_name != 'pull_request' }} | 37 | push: ${{ github.event_name != 'pull_request' }} |
| 38 | tags: ${{ steps.meta.outputs.tags }} | 38 | tags: ${{ steps.meta.outputs.tags }} |
| 39 | labels: ${{ steps.meta.outputs.labels }} | 39 | labels: ${{ steps.meta.outputs.labels }} |
| 40 | build-args: | | ||
| 41 | DOCKER_METADATA_OUTPUT_VERSION | ||
