Skip to content

Fixed goreleaser yml #8

Fixed goreleaser yml

Fixed goreleaser yml #8

Workflow file for this run

name: Build and Publish Docker
on:
push:
tags:
- 'v*.*.*' ## will be the tag of docker image
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Publish Server to Github Registry
uses: docker/build-push-action@v1
with:
repository: aau-network-security/gwireguard/wireguard-service
username: aau-network-security
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
tag_with_ref: true
tag_with_sha: true
- name: Publish server to dockerhub
uses: docker/build-push-action@v1
with:
repository: aaunetworksecurity/wireguard-service
username: aaunetworksecurity
password: ${{ secrets.DOCKER_H_PASSWORD }}
tag_with_ref: true
tag_with_sha: true