Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9102a9b15a | ||
|
|
3ff9759e1e |
@@ -7,14 +7,26 @@ on:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Install Podman
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y podman fuse-overlayfs slirp4netns
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
- name: Verify Podman
|
||||
run: |
|
||||
podman --version
|
||||
podman info
|
||||
|
||||
- name: Build container image
|
||||
run: |
|
||||
podman build --storage-driver=vfs -t my-image:latest .
|
||||
|
||||
- name: Log in to Docker registry
|
||||
uses: docker/login-action@v2
|
||||
|
||||
Reference in New Issue
Block a user