Skip to content

Instantly share code, notes, and snippets.

@manobi
Created June 24, 2020 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manobi/2fa4a0b4f5de61650c54adaaadaddba2 to your computer and use it in GitHub Desktop.
Save manobi/2fa4a0b4f5de61650c54adaaadaddba2 to your computer and use it in GitHub Desktop.
Google artifact Registry with Drone
steps:
- name: magento2:latest
image: plugins/docker
settings:
repo: us-central1-docker.pkg.dev/biz-stores/onion/magento2
registry: us-central1-docker.pkg.dev
dockerfile: ./docker/magento2/Dockerfile
use_cache: false
build_args:
- VERSION=2.3.4
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
tags:
- latest
- '2.3.4'
steps:
- name: magento2:latest
image: plugins/gcr
settings:
repo: us-central1-docker.pkg.dev/biz-stores/onion/magento2
registry: us-central1-docker.pkg.dev
dockerfile: ./docker/magento2/Dockerfile
use_cache: false
build_args:
- VERSION=2.3.4
json_key:
from_secret: REGISTRY_PASSWORD
tags:
- latest
- '2.3.4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment