Skip to content

Commit

Permalink
fix volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Jul 24, 2023
1 parent 08d04ec commit 02f01df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"mounts": [
{
"type": "volume",
"source": "kubebuilder-example",
"source": "kubebuilder-template-${devcontainerId}",
"target": "/home/vscode"
}
],
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/prebuilds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ permissions:

jobs:
publish-image:
if: startsWith(github.ref, 'refs/tags/v') == true
runs-on: ubuntu-22.04

permissions:
Expand All @@ -23,18 +22,6 @@ jobs:

steps:
- uses: actions/checkout@v3
- id: get_version
run: |
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
echo "::set-output name=release_version::$RELEASE_VERSION"
- name: Get Docker tags
id: docker_meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/loft-sh/loft-router
tags: |
type=semver,pattern={{version}}
type=raw,value=latest
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand All @@ -56,4 +43,4 @@ jobs:
devpod provider add docker
# Build image via local docker
devpod build . --repository ghcr.io/loft-sh/devpod-kubebuilder-template
devpod build . --repository "ghcr.io/loft-sh/devpod-kubebuilder-template" --platform "linux/amd64,linux/arm64"

0 comments on commit 02f01df

Please sign in to comment.