Skip to content

Bump golang.org/x/net from 0.7.0 to 0.17.0 (#126) #17

Bump golang.org/x/net from 0.7.0 to 0.17.0 (#126)

Bump golang.org/x/net from 0.7.0 to 0.17.0 (#126) #17

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
env:
GO_VERSION: "1.18"
jobs:
release:
name: Release
runs-on: ubuntu-18.04
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
DOCKER_BUILDKIT: "1"
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Show available Docker Buildx platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to Dockerhub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
workdir: ${{ env.git_repo_name }}
env:
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
GHCR_PATH: ghcr.io/aquasecurity
DOCKERHUB_PATH: docker.io/aquasec