Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: [#58] Update go version #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/dive.yml

This file was deleted.

35 changes: 10 additions & 25 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
---
name: Docker
'on':
# required by gomod-go-version-updater to trigger this action once pr has
# been reviewed
pull_request_review:
types: [submitted]
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
mcvs-docker-action:
runs-on: ubuntu-20.04
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
- uses: actions/[email protected]
- uses: schubergphilis/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: version
id: version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: utrecht/yaam:${{ steps.version.outputs.version }}
build-args: |
VERSION=${{ github.ref }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
dockle-accept-key: libcrypto3,libssl3
token: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Docker
'on':
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: version
id: version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: utrecht/yaam:${{ steps.version.outputs.version }}
build-args: |
VERSION=${{ github.ref }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
15 changes: 0 additions & 15 deletions .github/workflows/dockle.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: golang
'on':
# required by gomod-go-version-updater to trigger this action once pr has
# been reviewed
pull_request_review:
types: [submitted]
push:
jobs:
mcvs-golang-action:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: schubergphilis/[email protected]
with:
golang-unit-tests-exclusions: |-
\(cmd\/n3dr\|internal\/app\/n3dr\/\(goswagger\|n3drtest\)\)
13 changes: 13 additions & 0 deletions .github/workflows/gomod-go-version-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: gomod-go-version-updater-action
'on':
schedule:
- cron: '42 6 * * *'
permissions:
contents: write
pull-requests: write
jobs:
gomod-go-version-updater-action:
runs-on: ubuntu-22.04
steps:
- uses: 030/gomod-go-version-updater-action@20-create-label
34 changes: 0 additions & 34 deletions .github/workflows/gosec.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/hadolint.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/trivy.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/yamllint.yml

This file was deleted.

Loading