build: update actions artifacts #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push Docker - Main | |
on: [push] | |
jobs: | |
test: | |
name: Build and Push Docker - Main | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
ref: add-jenkins | |
- name: Set environment variables | |
run: echo "GIT_CURRENT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV | |
- name: Login to DockerHub Registry | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
- name: Run build script | |
run: contrib/docker/gh-build.sh |