diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docker-image.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3f83351..c8c8930 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml | |||
| @@ -13,10 +13,10 @@ jobs: | |||
| 13 | runs-on: ubuntu-latest | 13 | runs-on: ubuntu-latest |
| 14 | steps: | 14 | steps: |
| 15 | - name: Checkout | 15 | - name: Checkout |
| 16 | uses: actions/checkout@v2 | 16 | uses: actions/checkout@v4 |
| 17 | - name: Docker meta | 17 | - name: Docker meta |
| 18 | id: meta | 18 | id: meta |
| 19 | uses: docker/metadata-action@v4 | 19 | uses: docker/metadata-action@v5 |
| 20 | with: | 20 | with: |
| 21 | images: ghcr.io/tomvanderlee/ttun-server | 21 | images: ghcr.io/tomvanderlee/ttun-server |
| 22 | tags: | | 22 | tags: | |
| @@ -25,13 +25,13 @@ jobs: | |||
| 25 | 25 | ||
| 26 | - name: Login to DockerHub | 26 | - name: Login to DockerHub |
| 27 | if: github.event_name != 'pull_request' | 27 | if: github.event_name != 'pull_request' |
| 28 | uses: docker/login-action@v1 | 28 | uses: docker/login-action@v3 |
| 29 | with: | 29 | with: |
| 30 | registry: ghcr.io | 30 | registry: ghcr.io |
| 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@v4 | 34 | uses: docker/build-push-action@v6 |
| 35 | with: | 35 | with: |
| 36 | context: . | 36 | context: . |
| 37 | push: ${{ github.event_name != 'pull_request' }} | 37 | push: ${{ github.event_name != 'pull_request' }} |
