forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (33 loc) · 926 Bytes
/
environment.yml
File metadata and controls
36 lines (33 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Environment Suite
on:
pull_request: {}
push:
branches:
- master
workflow_dispatch:
env:
VERBOSE: true
CI: true
jobs:
publish-new-environment:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2.3.5
- name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.6.0
- name: Login to DockerHub
uses: docker/login-action@v1.10.0
if: github.ref == 'refs/heads/master'
with:
username: ${{ secrets.CI_DOCKER_USERNAME }}
password: ${{ secrets.CI_DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2.7.0
with:
context: .
file: ./scripts/environment/Dockerfile
push: ${{ github.ref == 'refs/heads/master' }}
tags: timberio/ci_image:latest