summaryrefslogtreecommitdiffstats
path: root/.github/workflows/docker.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:50 +0000
commit451520af975c978c8ffaa1d9a0959b50c1b8e294 (patch)
treec2abdd80665f8494280a65417a9c21156ff41125 /.github/workflows/docker.yml
parentAdding upstream version 1.7.4. (diff)
downloadttyd-upstream/1.7.7.tar.xz
ttyd-upstream/1.7.7.zip
Adding upstream version 1.7.7.upstream/1.7.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--.github/workflows/docker.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 4dbaf24..90ff761 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -3,13 +3,13 @@ name: docker
on:
push:
branches: main
- tags: "*"
+ tags: ["*"]
jobs:
build:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt-get update
@@ -22,9 +22,9 @@ jobs:
[ "$arch" = "armv7" ] && arch="arm"
mkdir -p dist/$arch && cp build/ttyd dist/$arch/ttyd
done
- - uses: docker/setup-qemu-action@v2
- - uses: docker/setup-buildx-action@v2
- - uses: docker/login-action@v2
+ - uses: docker/setup-qemu-action@v3
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
@@ -42,7 +42,7 @@ jobs:
echo "ALPINE_TAG=tsl0922/ttyd:alpine" >> $GITHUB_ENV
esac
- name: build/push docker image
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
@@ -50,7 +50,7 @@ jobs:
push: true
tags: ${{ env.DOCKER_TAG }}
- name: build/push docker image (alpine)
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.alpine