mirror of
https://github.com/eliasstepanik/IonosDDNSUpdater.git
synced 2026-01-11 19:48:26 +00:00
Delete .github/workflows directory
This commit is contained in:
parent
e6b175a18c
commit
7655574bd6
42
.github/workflows/docker-image-dev.yml
vendored
42
.github/workflows/docker-image-dev.yml
vendored
@ -1,42 +0,0 @@
|
|||||||
name: Docker Image CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "dev" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "dev" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build_n_push:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Extract branch name
|
|
||||||
shell: bash
|
|
||||||
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >>$GITHUB_OUTPUT
|
|
||||||
id: extract_branch
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
with:
|
|
||||||
install: true
|
|
||||||
|
|
||||||
- name: Docker Build and Tag Prod
|
|
||||||
run: docker build --load -t saile2204/ionos_ddns_updater:latest-${{ steps.extract_branch.outputs.branch }} -t saile2204/ionos_ddns_updater:${{ steps.extract_branch.outputs.branch }}-$GITHUB_SHA .
|
|
||||||
|
|
||||||
- name: Docker Build and Tagd
|
|
||||||
run: docker build --load -t saile2204/ionos_ddns_updater:$(date +%s) .
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERUSERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERPASSWORD }}
|
|
||||||
|
|
||||||
- name: Push to Dockerhub
|
|
||||||
run: |
|
|
||||||
docker push saile2204/ionos_ddns_updater:latest-${{ steps.extract_branch.outputs.branch }}
|
|
||||||
docker push saile2204/ionos_ddns_updater:${{ steps.extract_branch.outputs.branch }}-$GITHUB_SHA
|
|
||||||
42
.github/workflows/docker-image-prod.yml
vendored
42
.github/workflows/docker-image-prod.yml
vendored
@ -1,42 +0,0 @@
|
|||||||
name: Docker Image CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "master"]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "master"]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build_n_push:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Extract branch name
|
|
||||||
shell: bash
|
|
||||||
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >>$GITHUB_OUTPUT
|
|
||||||
id: extract_branch
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
with:
|
|
||||||
install: true
|
|
||||||
|
|
||||||
- name: Docker Build and Tag Prod
|
|
||||||
run: docker build --load -t saile2204/ionos_ddns_updater:latest-${{ steps.extract_branch.outputs.branch }} -t saile2204/ionos_ddns_updater:${{ steps.extract_branch.outputs.branch }}-$GITHUB_SHA .
|
|
||||||
|
|
||||||
- name: Docker Build and Tagd
|
|
||||||
run: docker build --load -t saile2204/ionos_ddns_updater:$(date +%s) .
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERUSERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERPASSWORD }}
|
|
||||||
|
|
||||||
- name: Push to Dockerhub
|
|
||||||
run: |
|
|
||||||
docker push saile2204/ionos_ddns_updater:latest-${{ steps.extract_branch.outputs.branch }}
|
|
||||||
docker push saile2204/ionos_ddns_updater:${{ steps.extract_branch.outputs.branch }}-$GITHUB_SHA
|
|
||||||
28
.github/workflows/dotnet.yml
vendored
28
.github/workflows/dotnet.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
# This workflow will build a .NET project
|
|
||||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
|
|
||||||
|
|
||||||
name: .NET
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "master" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --no-restore
|
|
||||||
- name: Test
|
|
||||||
run: dotnet test --no-build --verbosity normal
|
|
||||||
Loading…
x
Reference in New Issue
Block a user