From e4fcf22787f31c24323d30c132ba8005bb73bcf4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 28 Jan 2024 13:44:40 +0100 Subject: workflows/ci: upgrade actions --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47df797..e72a9ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: name: Test (host) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: sudo apt install -y wireguard-tools - name: Test @@ -22,7 +22,7 @@ jobs: name: Test (LinuxServer) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test run: sudo ./test/linuxserver/test.sh @@ -33,11 +33,11 @@ jobs: if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # https://github.com/docker/metadata-action#semver - id: meta name: Docker Hub metadata - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: egortensin/wg-api-web flavor: | @@ -48,11 +48,11 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: egortensin password: '${{ secrets.DOCKERHUB_TOKEN }}' @@ -66,7 +66,7 @@ jobs: echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT" fi - name: Build and publish - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: # Without context, .dockerignore isn't respected? # https://stackoverflow.com/a/74552407/514684 -- cgit v1.2.3