Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27ee0b81c3 | ||
|
|
1d1f63a451 |
@@ -15,12 +15,6 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -38,7 +32,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./tools
|
context: ./tools
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
tags: |
|
tags: |
|
||||||
gitea.setlock.net/shaun/dev-container:latest
|
gitea.setlock.net/shaun/dev-container:latest
|
||||||
gitea.setlock.net/shaun/dev-container:${{ env.GIT_TAG }}
|
gitea.setlock.net/shaun/dev-container:${{ env.GIT_TAG }}
|
||||||
|
|||||||
@@ -14,12 +14,6 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -32,6 +26,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./tools
|
context: ./tools
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
tags: |
|
tags: |
|
||||||
gitea.setlock.net/shaun/dev-container:nightly
|
gitea.setlock.net/shaun/dev-container:nightly
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ RUN chown -R shaun:shaun /workspace
|
|||||||
|
|
||||||
# Switch to non-root user
|
# Switch to non-root user
|
||||||
USER shaun
|
USER shaun
|
||||||
WORKDIR /home/shaun
|
WORKDIR /workspace
|
||||||
|
|
||||||
# Avoid container exit.
|
# Avoid container exit.
|
||||||
CMD ["tail", "-f", "/dev/null"]
|
CMD ["tail", "-f", "/dev/null"]
|
||||||
|
|||||||
Reference in New Issue
Block a user