Update docker-image.yml
This commit is contained in:
21
.github/workflows/docker-image.yml
vendored
21
.github/workflows/docker-image.yml
vendored
@@ -7,21 +7,14 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@master
|
||||||
- name: Build the Docker image
|
- name: Publish to Registry
|
||||||
run: docker build . --file Dockerfile --tag frishi/threetwo:$(date +%s)
|
uses: elgohr/Publish-Docker-Github-Action@master
|
||||||
- name: Action Docker Push
|
with:
|
||||||
# You may pin to the exact commit or the version.
|
name: frishi/threetwo
|
||||||
# uses: timzu/act-docker@8f210802215e27956d668a1a963f02ae760983fb
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
uses: timzu/act-docker@v0.3.4
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
env:
|
|
||||||
USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
TAG_NAME: "v0.0.1"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user