Skip to content

Instantly share code, notes, and snippets.

@nebril
Created May 27, 2020 12:04
Show Gist options
  • Save nebril/079ad077548cc68d3f19796ea0e47128 to your computer and use it in GitHub Desktop.
Save nebril/079ad077548cc68d3f19796ea0e47128 to your computer and use it in GitHub Desktop.
# docker-build-agent:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# - name: Build and push agent image
# uses: docker/build-push-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
# repository: cilium/cilium-test
# build_args: NOSTRIP=,LOCKDEBUG=,V=,LIBNETWORK_PLUGIN=,CILIUM_SHA=
# tag: ${{ github.event.number }}
# tag_with_ref: true
# dockerfile: Dockerfile
# push: ${{ startsWith(github.ref, 'refs/pull') }}
# docker-build-operator:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# - name: Build and push operator image
# uses: docker/build-push-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
# repository: cilium/operator-test
# build_args: NOSTRIP=,LOCKDEBUG=,CILIUM_SHA=
# tag_with_ref: true
# dockerfile: cilium-operator.Dockerfile
# push: ${{ startsWith(github.ref, 'refs/pull') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment