Skip to content

Commit

Permalink
Testing new runner config
Browse files Browse the repository at this point in the history
  • Loading branch information
LarssonOliver committed Nov 25, 2023
1 parent dcd12b0 commit 7d857a4
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,25 @@ jobs:
runs-on: blg-runner-set
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.CONTENT_REPO_GITHUB_TOKEN }}

- name: Set TAG environment variable
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Create docker context
run: docker context create builders

- name: Setup buildx
uses: docker/setup-buildx-action@v2
with:
version: latest
endpoint: builders
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/bake-action@v3
uses: docker/bake-action@v4
with:
push: true

0 comments on commit 7d857a4

Please sign in to comment.