Skip to content

Commit

Permalink
chore(ci): update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
beatkind committed Jul 8, 2024
1 parent f9f982c commit 8d5eb97
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 32 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 0 additions & 31 deletions .github/workflows/release.yml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
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
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3
with:
Expand All @@ -98,12 +92,6 @@ jobs:
beatkind/watchtower:i386-$DH_TAG \
beatkind/watchtower:armhf-$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
run: |
for REPO in '' ghcr.io/ ; do
Expand Down Expand Up @@ -136,12 +124,6 @@ jobs:
beatkind/watchtower:i386-latest \
beatkind/watchtower:armhf-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
run: |
for REPO in '' ghcr.io/ ; do
Expand Down Expand Up @@ -174,14 +156,6 @@ jobs:
docker login -u $DOCKER_USER -p $DOCKER_TOKEN && \
docker manifest push beatkind/watchtower:$(echo $TAG | sed 's/^v*//') && \
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:
name: Refresh pkg.go.dev
Expand All @@ -190,8 +164,3 @@ jobs:
steps:
- name: Pull new module version
uses: andrewslotin/go-proxy-pull-action@89382de145eeb7a85de72f8a27f686a50727bc7a #master@2022-10-14





3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ coverage.out
*.coverprofile

docs/assets/wasm_exec.js
docs/assets/*.wasm
docs/assets/*.wasm
.vscode/settings.json

0 comments on commit 8d5eb97

Please sign in to comment.