mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-14 17:32:46 +01:00
build: Configure secrets
This commit is contained in:
parent
4f071cd6a2
commit
711ea5377d
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -9,6 +9,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: install go
|
- name: install go
|
||||||
@ -19,7 +22,7 @@ jobs:
|
|||||||
run: make
|
run: make
|
||||||
- name: enable experimental docker features
|
- name: enable experimental docker features
|
||||||
run: |
|
run: |
|
||||||
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json ~/.docker/config.json
|
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
||||||
sudo service docker restart
|
sudo service docker restart
|
||||||
- name: build docker image
|
- name: build docker image
|
||||||
run: make docker-build
|
run: make docker-build
|
||||||
|
Loading…
Reference in New Issue
Block a user