Skip to content

Update golang Docker tag to v1.26.1 #138

Update golang Docker tag to v1.26.1

Update golang Docker tag to v1.26.1 #138

Workflow file for this run

# Make sure to enable 'Require status checks to pass before merging' on the branch protection,
# and to select the 'Build-and-Push' action.
name: Build and Push
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
Build-and-Push:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
- name: Log in to container registry
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
with:
push: true
tags: |
ghcr.io/vzauartcc/data-parser:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max