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