aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-01-28 13:44:40 +0100
committerEgor Tensin <egor@tensin.name>2024-01-28 13:44:40 +0100
commite4fcf22787f31c24323d30c132ba8005bb73bcf4 (patch)
tree7d70107d39fd4c29d1420cd0ef92ee530299bd39 /.github/workflows
parentaccount for small time drifts (diff)
downloadwg-api-web-e4fcf22787f31c24323d30c132ba8005bb73bcf4.tar.gz
wg-api-web-e4fcf22787f31c24323d30c132ba8005bb73bcf4.zip
workflows/ci: upgrade actionsHEADmaster
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml16
1 files changed, 8 insertions, 8 deletions
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