Update build

Former-commit-id: 28176be82215a54cee5fc37b8f7e3f340340a5d3
Former-commit-id: 81047a0253cfa62f39afe5cf76d57329c1778344 [formerly e97d3da885d1c27a5f5c73bb321ada1625bfe9fd] [formerly 197823b7b7172d52daa95fd8b0cbc2b7b7f6fa6f [formerly 33bd62d361edfa556378dcbec1070930338074c7 [formerly 33bd62d361edfa556378dcbec1070930338074c7 [formerly 33bd62d361edfa556378dcbec1070930338074c7 [formerly c239b8f49967088df5283490d75b6500fb6a3b2d]]]]]
Former-commit-id: 471486bfceface4c459c909e52622269f34718bb [formerly c167970e3f6423b54516cc3224e5d1b36c71d61b]
Former-commit-id: cf18ea9a31bdaae1519b59c64b15552f76959b90
Former-commit-id: cc81a2ab3501b141ab98c1561679a6b0811f9dd5
Former-commit-id: 72b468e87977a8cb04f2f6e522111c4cff2209d9
Former-commit-id: d72e140147ec595f543365d58d57c4803230a6ee [formerly 7ad47aa3e36439db41f0eefa7a4216a8c544a8d8]
Former-commit-id: 232dd151cfe3235c1c230fe13256bbf4b20a7ec4
This commit is contained in:
Romain GERARD 2020-11-08 12:28:37 +01:00
parent ca34a390c4
commit e1c70391c5
2 changed files with 0 additions and 51 deletions

View file

@ -1,27 +0,0 @@
name: Publish Docker image
on:
push:
branches: [ master ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/erebe/wstunnel:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

View file

@ -1,24 +0,0 @@
on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false