Skip to content

Update module github.com/sijms/go-ora/v2 to v2.7.21 #46

Update module github.com/sijms/go-ora/v2 to v2.7.21

Update module github.com/sijms/go-ora/v2 to v2.7.21 #46

name: Publish Docker image (develop)
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
if: github.repository == 'hiroyoshii/go-aas-proxy'
steps:
- name: Check out the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
with:
platforms: linux/amd64,linux/arm64
- name: Docker meta
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: hiroyoshii/go-aas-proxy
- name: Log in to Docker Hub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push to Docker Hub
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
push: true
platforms: ${{ steps.buildx.outputs.platforms }}
provenance: false
tags: hiroyoshii/go-aas-proxy:develop
labels: develop
cache-from: type=gha
cache-to: type=gha,mode=max