summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2022-06-16 02:47:05 +0200
committerJF <JF002@users.noreply.github.com>2022-07-08 17:13:47 +0200
commitb089fc2c610812bc551df3dca79da7798899acd8 (patch)
tree65adfa834d40072fbc86e62b9e0c8ef8fbcf46d3 /.github
parent6c23aa56260e480a2a374e760498aa7af7e860ba (diff)
Hardcode the Docker Hub username as infinitime
This is so that pull requests that modify the docker image but don't have the DOCKER_HUB_USERNAME secret set won't fail.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 78bba860..bbc6a3c8 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -20,7 +20,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
- username: ${{ secrets.DOCKER_HUB_USERNAME }}
+ username: infinitime
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
@@ -37,6 +37,6 @@ jobs:
platforms: linux/amd64,linux/arm64
builder: ${{ steps.buildx.outputs.name }}
push: ${{ github.event_name != 'pull_request' }}
- tags: ${{ secrets.DOCKER_HUB_USERNAME }}/infinitime-build:latest
- cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/infinitime-build:buildcache
- cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/infinitime-build:buildcache,mode=max
+ tags: infinitime/infinitime-build:latest
+ cache-from: type=registry,ref=infinitime/infinitime-build:buildcache
+ cache-to: type=registry,ref=infinitime/infinitime-build:buildcache,mode=max