Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
bf25c33b3f |
@@ -8,10 +8,13 @@ jobs:
|
||||
create-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.21
|
||||
image: docker:28.3.2-dind
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
# Install git
|
||||
apk add --no-cache git
|
||||
|
||||
echo "=== GitHub Variables ==="
|
||||
echo "github.ref = ${{ github.ref }}"
|
||||
echo "github.ref_name = ${{ github.ref_name }}"
|
||||
@@ -24,8 +27,7 @@ jobs:
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
run: |
|
||||
# Install Docker CLI
|
||||
apt-get update && apt-get install -y docker.io
|
||||
# Docker is already installed in docker:dind image
|
||||
docker --version
|
||||
|
||||
# Setup Docker Buildx for multi-platform builds
|
||||
|
Reference in New Issue
Block a user