Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Werfling committed Apr 17, 2023
2 parents 538bb74 + f6b1fd9 commit eb3d384
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/docker-image-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Release FlyingFish Docker Images

on:
release:
types: [published]
tags:
- 'v*.*.*'

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and push FlyingFish
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile.nginxsrc
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish:${{github.ref_name }}

- name: Build and push FlyingFish SSH
uses: docker/build-push-action@v2
with:
context: ./sshserver/
file: ./sshserver/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish_ssh:${{github.ref_name }}


- name: Build and push FlyingFish Himhip
uses: docker/build-push-action@v2
with:
context: ./himhip/
file: ./himhip/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish_himip:${{github.ref_name }}
51 changes: 51 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Release FlyingFish Docker Images

on:
release:
types: [published]
tags:
- 'v*.*.*'

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and push FlyingFish
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile.nginxsrc
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish:${{github.ref_name }}

- name: Build and push FlyingFish SSH
uses: docker/build-push-action@v2
with:
context: ./sshserver/
file: ./sshserver/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish_ssh:${{github.ref_name }}


- name: Build and push FlyingFish Himhip
uses: docker/build-push-action@v2
with:
context: ./himhip/
file: ./himhip/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/flyingfish_himip:${{github.ref_name }}

0 comments on commit eb3d384

Please sign in to comment.