Skip to content

Commit 354a500

Browse files
committed
🚀 Prepare dev container workflows for production
- Remove branch-specific testing configuration - Publish workflow now only runs on main branch - Integration workflow uses :latest cache from GHCR - Clean up testing artifacts from Dockerfile
1 parent 2c0a5d1 commit 354a500

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,3 @@ RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli
5858
ENV APPLICATION_PATH=/roots/app
5959

6060
USER vscode
61-
62-
# Trigger dev container workflow

.github/workflows/devcontainer.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Dev Container
22

33
on:
44
push:
5-
branches: [main, devcontainer-updates]
5+
branches: [main]
66
paths:
77
- '.devcontainer/**'
88
workflow_dispatch:
@@ -28,6 +28,5 @@ jobs:
2828
uses: devcontainers/[email protected]
2929
with:
3030
imageName: ghcr.io/roots/acorn-devcontainer
31-
imageTag: ${{ github.ref_name }}
3231
cacheFrom: ghcr.io/roots/acorn-devcontainer
3332
push: always

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: devcontainers/[email protected]
1717
with:
1818
configFile: .devcontainer/devcontainer.json
19-
cacheFrom: ghcr.io/roots/acorn-devcontainer:${{ github.ref_name }}
19+
cacheFrom: ghcr.io/roots/acorn-devcontainer
2020
push: never
2121
runCmd: |
2222
# Wait for database to be ready

0 commit comments

Comments
 (0)