mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
chore(ci): update workflows
This commit is contained in:
parent
f9f982c144
commit
8d5eb97b1a
7 changed files with 2 additions and 32 deletions
|
|
@ -72,12 +72,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Login to GHCR
|
|
||||||
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc #v2
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.BOT_USERNAME }}
|
|
||||||
password: ${{ secrets.BOT_GHCR_PAT }}
|
|
||||||
registry: ghcr.io
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3
|
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -98,12 +92,6 @@ jobs:
|
||||||
beatkind/watchtower:i386-$DH_TAG \
|
beatkind/watchtower:i386-$DH_TAG \
|
||||||
beatkind/watchtower:armhf-$DH_TAG \
|
beatkind/watchtower:armhf-$DH_TAG \
|
||||||
beatkind/watchtower:arm64v8-$DH_TAG
|
beatkind/watchtower:arm64v8-$DH_TAG
|
||||||
docker manifest create \
|
|
||||||
ghcr.io/beatkind/watchtower:$DH_TAG \
|
|
||||||
ghcr.io/beatkind/watchtower:amd64-$DH_TAG \
|
|
||||||
ghcr.io/beatkind/watchtower:i386-$DH_TAG \
|
|
||||||
ghcr.io/beatkind/watchtower:armhf-$DH_TAG \
|
|
||||||
ghcr.io/beatkind/watchtower:arm64v8-$DH_TAG
|
|
||||||
- name: Annotate manifest for version
|
- name: Annotate manifest for version
|
||||||
run: |
|
run: |
|
||||||
for REPO in '' ghcr.io/ ; do
|
for REPO in '' ghcr.io/ ; do
|
||||||
|
|
@ -136,12 +124,6 @@ jobs:
|
||||||
beatkind/watchtower:i386-latest \
|
beatkind/watchtower:i386-latest \
|
||||||
beatkind/watchtower:armhf-latest \
|
beatkind/watchtower:armhf-latest \
|
||||||
beatkind/watchtower:arm64v8-latest
|
beatkind/watchtower:arm64v8-latest
|
||||||
docker manifest create \
|
|
||||||
ghcr.io/beatkind/watchtower:latest \
|
|
||||||
ghcr.io/beatkind/watchtower:amd64-latest \
|
|
||||||
ghcr.io/beatkind/watchtower:i386-latest \
|
|
||||||
ghcr.io/beatkind/watchtower:armhf-latest \
|
|
||||||
ghcr.io/beatkind/watchtower:arm64v8-latest
|
|
||||||
- name: Annotate manifest for latest
|
- name: Annotate manifest for latest
|
||||||
run: |
|
run: |
|
||||||
for REPO in '' ghcr.io/ ; do
|
for REPO in '' ghcr.io/ ; do
|
||||||
|
|
@ -174,14 +156,6 @@ jobs:
|
||||||
docker login -u $DOCKER_USER -p $DOCKER_TOKEN && \
|
docker login -u $DOCKER_USER -p $DOCKER_TOKEN && \
|
||||||
docker manifest push beatkind/watchtower:$(echo $TAG | sed 's/^v*//') && \
|
docker manifest push beatkind/watchtower:$(echo $TAG | sed 's/^v*//') && \
|
||||||
docker manifest push beatkind/watchtower:latest
|
docker manifest push beatkind/watchtower:latest
|
||||||
- name: Push manifests to GitHub Container Registry
|
|
||||||
env:
|
|
||||||
DOCKER_USER: ${{ secrets.BOT_USERNAME }}
|
|
||||||
DOCKER_TOKEN: ${{ secrets.BOT_GHCR_PAT }}
|
|
||||||
run: |
|
|
||||||
docker login -u $DOCKER_USER -p $DOCKER_TOKEN ghcr.io && \
|
|
||||||
docker manifest push ghcr.io/beatkind/watchtower:$(echo $TAG | sed 's/^v*//') && \
|
|
||||||
docker manifest push ghcr.io/beatkind/watchtower:latest
|
|
||||||
|
|
||||||
renew-docs:
|
renew-docs:
|
||||||
name: Refresh pkg.go.dev
|
name: Refresh pkg.go.dev
|
||||||
|
|
@ -190,8 +164,3 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Pull new module version
|
- name: Pull new module version
|
||||||
uses: andrewslotin/go-proxy-pull-action@89382de145eeb7a85de72f8a27f686a50727bc7a #master@2022-10-14
|
uses: andrewslotin/go-proxy-pull-action@89382de145eeb7a85de72f8a27f686a50727bc7a #master@2022-10-14
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -10,4 +10,5 @@ coverage.out
|
||||||
*.coverprofile
|
*.coverprofile
|
||||||
|
|
||||||
docs/assets/wasm_exec.js
|
docs/assets/wasm_exec.js
|
||||||
docs/assets/*.wasm
|
docs/assets/*.wasm
|
||||||
|
.vscode/settings.json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue