Skip to content

Commit

Permalink
update skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Nov 27, 2024
1 parent 3811c1c commit fb11b66
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
// Add sshd to support gh cli codespace cp.
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.22"
}
// "ghcr.io/devcontainers/features/go:1": {
// "version": "1.22"
// }
},
"remoteUser": "vscode",
"customizations": {
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# https://github.com/devcontainers/ci/issues/268#issuecomment-1976014578
- name: remove existing skopeo
run: |
sudo rm -rf $(which skopeo)
- name: Update skopeo
run: |
docker create --name skopeo quay.io/skopeo/stable:v1.17
docker cp skopeo:/usr/bin/skopeo /usr/local/bin/skopeo
sudo chmod a+x /usr/local/bin/skopeo
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit fb11b66

Please sign in to comment.