1
1
mirror of https://github.com/drone-plugins/github-actions synced 2024-11-15 02:56:25 +01:00
github.com-drone-plugins-gi.../.drone.yml
Jim Sheldon 87c917b4e7 update act to v0.2.34
this also required updating the action image to node16

this is a potentially breaking change, so I don't think we want this plugin
image to be tagged 'latest' if/when this change is merged to main

I have also updated the drone pipeline to only publish the image on tag
events, so if we give a proper tag (maybe 2.0.0) this updated plugin image
will be available as plugins/github-actions:2 which will not break existing
pipelines pulling latest
2022-12-22 13:24:48 -05:00

40 lines
692 B
YAML

kind: pipeline
type: vm
name: default
platform:
os: linux
arch: amd64
pool:
use: ubuntu
steps:
- name: build
image: golang:1.19
commands:
- go test ./...
- sh scripts/build.sh
- name: publish (dry run)
image: plugins/docker
pull: if-not-exists
settings:
dry_run: true
repo: plugins/github-actions
auto_tag: true
dockerfile: docker/Dockerfile.linux.amd64
- name: publish
image: plugins/docker
pull: if-not-exists
settings:
repo: plugins/github-actions
auto_tag: true
dockerfile: docker/Dockerfile.linux.amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag