Skip to content

chore(deps): bump golang from 1.26.5 to 1.27.0 #478

chore(deps): bump golang from 1.26.5 to 1.27.0

chore(deps): bump golang from 1.26.5 to 1.27.0 #478

name: action-test (docker version)
on:
push:
pull_request:
jobs:
build-dev-image:
name: build dev image
# Docker build requires push to ghcr.io which is not available for fork PRs.
# Fork PRs are covered by action-source-test.yml instead.
# Same-repo PRs are skipped to avoid running twice (push event already covers them).
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
permissions:
packages: write
contents: read
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v7
- name: login to GitHub container registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push
uses: docker/build-push-action@v7
with:
push: true
build-args: |
VERSION=dev
provenance: false
sbom: false
tags: |
ghcr.io/vladopajic/go-test-coverage:dev
- uses: actions/delete-package-versions@v5
with:
owner: vladopajic
package-name: go-test-coverage
package-type: container
min-versions-to-keep: 5
delete-only-untagged-versions: true
test:
name: docker test steps
needs: build-dev-image
uses: ./.github/workflows/action-test-steps.yml
with:
variant: docker
version: dev