mirror of https://github.com/cmur2/dyndnsd.git
wip
This commit is contained in:
parent
70ec21af94
commit
6d31479e09
|
@ -14,13 +14,22 @@ jobs:
|
||||||
- name: Extract dyndnsd version from tag name
|
- name: Extract dyndnsd version from tag name
|
||||||
run: |
|
run: |
|
||||||
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
|
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
|
||||||
|
|
||||||
# https://github.com/marketplace/actions/build-and-push-docker-images
|
# https://github.com/marketplace/actions/build-and-push-docker-images
|
||||||
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
|
- name: Set up Docker Buildx
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: cmur2
|
username: cmur2
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
repository: cmur2/dyndnsd
|
|
||||||
path: docker
|
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
|
||||||
build_args: DYNDNSD_VERSION=${{ env.DYNDNSD_VERSION }}
|
uses: docker/build-push-action@v2
|
||||||
tag_with_ref: true
|
with:
|
||||||
|
context: docker
|
||||||
|
build-args: |
|
||||||
|
DYNDNSD_VERSION=3.3.0
|
||||||
|
push: true
|
||||||
|
tags: cmur2/dyndnsd:${{ env.DYNDNSD_VERSION }}
|
||||||
|
|
Loading…
Reference in New Issue