Skip to content

chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 #116

chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0

chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 #116

Workflow file for this run

name: docker
on:
pull_request:
push:
tags:
- "*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
depth: 0
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: ${{ github.event_name != 'pull_request' }} # Never push on pull-request
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}