Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#590) #42

build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#590)

build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#590) #42

Workflow file for this run

name: ko-build
on:
push:
branches:
- main
tags:
- "*"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: docker meta
id: meta
uses: docker/[email protected]
with:
images: fsouza/s3-upload-proxy
sep-tags: ","
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: login to docker hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/[email protected]
id: setup-go
with:
go-version: "1.22.0"
- uses: ko-build/[email protected]
- name: ko build
run: |
ko build --platform=all --bare --tags="$(echo "${RAW_TAGS}" | sed -e 's;fsouza/s3-upload-proxy:;;g')"
env:
KO_DEFAULTBASEIMAGE: fsouza/alpine-base
KO_DOCKER_REPO: fsouza/s3-upload-proxy
RAW_TAGS: ${{ steps.meta.outputs.tags }}