Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: release

env:
DOCKER_USER: ${{ secrets.DockerHubUser }}
GITHUB_TOKEN: ${{ secrets.GHCRTOKEN }}

on:
push:
Expand All @@ -14,15 +14,12 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
with:
fetch-depth: 1

- name: build image
run: docker build --platform linux/amd64 -t digitalocean/doks-debug:latest .

- name: Log into container registry
run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin
run: docker build --platform linux/amd64 -t ghcr.io/digitalocean-packages/doks-debug:latest .

- name: push image
run: docker push digitalocean/doks-debug:latest
run: docker push ghcr.io/digitalocean-packages/doks-debug:latest
2 changes: 1 addition & 1 deletion k8s/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: doks-debug
securityContext:
privileged: true
image: digitalocean/doks-debug:latest
image: ghcr.io/digitalocean-packages/doks-debug:latest
command: [ "sleep", "infinity" ]
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- name: doks-debug
securityContext:
privileged: true
image: digitalocean/doks-debug:latest
image: ghcr.io/digitalocean-packages/doks-debug:latest
command: [ "sleep", "infinity" ]
resources:
requests:
Expand Down
Loading