Skip to content

Add docker host override #24

Add docker host override

Add docker host override #24

Workflow file for this run

name: Build
on:
push:
tags:
- "*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.18"
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
CGO_ENABLED=0 go build -tags containers_image_openpgp
./dinker - << ELEPHANT
{
"dests": [
{
"ref": "docker://ghcr.io/andrewbaxter/dinker:$GITHUB_REF_NAME",
"user": "$GITHUB_ACTOR",
"password": "$GITHUB_TOKEN"
},
{
"ref": "docker://ghcr.io/andrewbaxter/dinker:latest",
"user": "$GITHUB_ACTOR",
"password": "$GITHUB_TOKEN"
}
],
"arch": "amd64",
"os": "linux",
"files": [
{
"source": "dinker",
"mode": "755"
},
{
"source": "/etc/ssl/certs/ca-certificates.crt",
"dest": "/etc/ssl/certs/ca-certificates.crt",
"mode": "755"
}
]
}
ELEPHANT