Skip to content

Commit

Permalink
Upgrade dependencies and migrate to Github actions (#63)
Browse files Browse the repository at this point in the history
* Upgrade dependencies, move to Github actions

* Push main branch

* Add non-pushing test pipeline for branches
  • Loading branch information
cbeneke authored May 5, 2024
1 parent 934df85 commit 879699b
Show file tree
Hide file tree
Showing 5 changed files with 1,423 additions and 134 deletions.
103 changes: 0 additions & 103 deletions .circleci/config.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: cbeneke
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: cbeneke/hcloud-fip-controller:latest,cbeneke/hcloud-fip-controller:${{ github.ref_name }}
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on:
push:
branches-ignore:
- main

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: cbeneke
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
tags: cbeneke/hcloud-fip-controller:dev
Loading

0 comments on commit 879699b

Please sign in to comment.