Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Aug 17, 2024
1 parent 6cefe90 commit 69207b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@ on:

jobs:
print-cache-directory:
runs-on: ubuntu-latest
runs-on: macos-13
env:
BUILD_VERSION: $(git rev-parse --short HEAD)
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Maven dependencies
run: |
echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
docker info -f '{{ .DriverStatus }}'
docker info
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
# with:
# ## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand
# limit-access-to-actor: true
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand
limit-access-to-actor: true
1 change: 1 addition & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/share/swift
- name: Setup containerd driver type
if: matrix.platform == 'linux/amd64'
run: |
echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json
export BUILDX_EXPERIMENTAL=1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ publish-builds:
if [ -n "$$(docker images -q local/$$image:latest)" ]; then \
docker tag local/$$image:latest $(PACKAGE_REPO)$$image:$(BUILD_VERSION); \
echo publish: $(PACKAGE_REPO)$$image:$(BUILD_VERSION); \
docker push $(PACKAGE_REPO)$$image:$(BUILD_VERSION)-$(BUILD_TARGET); \
docker push $(PACKAGE_REPO)$$image:$(BUILD_VERSION); \
else \
echo "Skipping image local/$$image:latest -> does not exist locally"; \
fi \
Expand Down

0 comments on commit 69207b2

Please sign in to comment.