diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31765fa8..f801624f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,24 +38,23 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: openwrt/asu tags: | type=semver,pattern={{version}} + latest - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push ASU to Docker Hub - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: file: Containerfile push: true - tags: | - latest - ${{ steps.meta.outputs.tags }} + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}